diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-04-26 08:52:49 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-04-29 08:08:41 +0200 |
commit | 10f67d1fd275528e62109de2ece26371833638e5 (patch) | |
tree | 3627e8faeb5c3c60bdd17fe4e625f5fa58287843 /Documentation/devicetree/bindings/watchdog/gpio-wdt.yaml | |
parent | watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe() (diff) | |
download | linux-10f67d1fd275528e62109de2ece26371833638e5.tar.xz 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/bindings/watchdog/gpio-wdt.yaml')
0 files changed, 0 insertions, 0 deletions