summaryrefslogtreecommitdiffstats
path: root/sound/firewire/cmp.h
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2023-08-24 15:55:12 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2023-10-11 18:34:09 +0200
commit3cbb42827d0d2bb509e765df6d4d2b483f870bd8 (patch)
tree2cbb50cb37af9ab34856ed258173641393692842 /sound/firewire/cmp.h
parentLinux 6.6-rc2 (diff)
downloadlinux-3cbb42827d0d2bb509e765df6d4d2b483f870bd8.tar.xz
linux-3cbb42827d0d2bb509e765df6d4d2b483f870bd8.zip
watchdog: at91sam9_wdt: Use the devm_clk_get_enabled() helper function
The devm_clk_get_enabled() helper: - calls devm_clk_get() - calls clk_prepare_enable() and registers what is needed in order to call clk_disable_unprepare() when needed, as a managed resource. This simplifies the code. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230824135514.2661364-2-ruanjinjie@huawei.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'sound/firewire/cmp.h')
0 files changed, 0 insertions, 0 deletions