diff options
author | 2023-04-26 08:52:49 +0200 | |
---|---|---|
committer | 2023-04-29 08:08:41 +0200 | |
commit | 10f67d1fd275528e62109de2ece26371833638e5 (patch) | |
tree | 3627e8faeb5c3c60bdd17fe4e625f5fa58287843 /Documentation/devicetree | |
parent | watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe() (diff) | |
download | linux-10f67d1fd275528e62109de2ece26371833638e5.tar.gz linux-10f67d1fd275528e62109de2ece26371833638e5.tar.bz2 linux-10f67d1fd275528e62109de2ece26371833638e5.zip |
watchdog: dw_wdt: Simplify clk management
Use devm_clk_get_enabled() instead of hand-writing it.
This saves some LoC.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/f6094c55cacf9637d835cd49290d9e888faeb0f7.1682491863.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions