summaryrefslogtreecommitdiff
path: root/drivers/watchdog/cpwd.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-04-26 08:52:49 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2023-04-29 08:08:41 +0200
commit10f67d1fd275528e62109de2ece26371833638e5 (patch)
tree3627e8faeb5c3c60bdd17fe4e625f5fa58287843 /drivers/watchdog/cpwd.c
parent7f5390750645756bd5da2b24fac285f2654dd922 (diff)
downloadlinux-stable-10f67d1fd275528e62109de2ece26371833638e5.tar.gz
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 'drivers/watchdog/cpwd.c')
0 files changed, 0 insertions, 0 deletions