diff options
author | Jinjie Ruan <[email protected]> | 2023-08-24 21:55:12 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-10-11 18:34:09 +0200 |
commit | 3cbb42827d0d2bb509e765df6d4d2b483f870bd8 (patch) | |
tree | 2cbb50cb37af9ab34856ed258173641393692842 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) |
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 <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions