reset_source: migrate from reset_source_name to reset_source_to_string
Whether reset_source_name() returns the just set reset_source is
dependent on probe order and the priorities of prior reset sources
in relation to the current one. Make this more robust by using the new
reset_source_to_string.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6334543 commit 0b1ffec27b0dca8d57d8bfd6a9c3da62fe851812
@Ahmad Fatoum Ahmad Fatoum authored on 10 Feb 2020
Sascha Hauer committed on 19 Feb 2020
Showing 3 changed files
View
arch/arm/mach-imx/imx.c
View
drivers/watchdog/stm32_iwdg.c
View
drivers/watchdog/stpmic1_wdt.c