watchdog: stm32: fix style issue

Convert uint32_t to u32_t. Warning reported by checkpatch.

Signed-off-by: Florian Vaussard <florian.vaussard@gmail.com>
This commit is contained in:
Florian Vaussard 2018-05-17 14:50:01 +02:00 committed by Kumar Gala
commit 35cb2ba346

View file

@ -58,7 +58,7 @@ static void iwdg_stm32_convert_timeout(u32_t timeout,
* defines of LL_IWDG_PRESCALER_XX type. * defines of LL_IWDG_PRESCALER_XX type.
*/ */
*prescaler = --shift; *prescaler = --shift;
*reload = (uint32_t)(m_timeout / divider) - 1; *reload = (u32_t)(m_timeout / divider) - 1;
} }
static void iwdg_stm32_enable(struct device *dev) static void iwdg_stm32_enable(struct device *dev)