diff options
author | Christophe JAILLET <[email protected]> | 2023-04-26 08:52:49 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-04-29 08:08:41 +0200 |
commit | 10f67d1fd275528e62109de2ece26371833638e5 (patch) | |
tree | 3627e8faeb5c3c60bdd17fe4e625f5fa58287843 /lib/mpi/mpi-mod.c | |
parent | 7f5390750645756bd5da2b24fac285f2654dd922 (diff) |
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/f6094c55cacf9637d835cd49290d9e888faeb0f7.1682491863.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions