watchdog: remove wrong uses of timeout_cur
The barebox watchdog poller uses the struct watchdog.timeout_cur as
the timeout value to configure the watchdog with.

There's no need for the device driver to set this. I didn't know that
when I wrote the drivers, but I do now, hence this commit.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3c38c84 commit 07dc9dfd190da4caaed828fd1e1b6b024133614f
@Ahmad Fatoum Ahmad Fatoum authored on 24 Oct 2019
Sascha Hauer committed on 29 Oct 2019
Showing 2 changed files
View
drivers/watchdog/stm32_iwdg.c
View
drivers/watchdog/stpmic1_wdt.c