diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-04-26 09:52:49 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-04-29 09:08:41 +0300 |
commit | 10f67d1fd275528e62109de2ece26371833638e5 (patch) | |
tree | 3627e8faeb5c3c60bdd17fe4e625f5fa58287843 /Documentation/dev-tools | |
parent | 7f5390750645756bd5da2b24fac285f2654dd922 (diff) | |
download | linux-10f67d1fd275528e62109de2ece26371833638e5.tar.xz |
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/dev-tools')
0 files changed, 0 insertions, 0 deletions