diff options
author | 2024-08-26 16:04:08 +0800 | |
---|---|---|
committer | 2024-09-06 16:59:39 +0200 | |
commit | 3c0e167c21721901413e8bc2293642f4ee6f983f (patch) | |
tree | a9dcdfcf3c2fdba0103b59e154565ee5f9e2d3c2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mtd: rawnand: denali: Fix missing pci_release_regions in probe and remove (diff) | |
download | wireguard-linux-3c0e167c21721901413e8bc2293642f4ee6f983f.tar.xz wireguard-linux-3c0e167c21721901413e8bc2293642f4ee6f983f.zip |
mtd: rawnand: denali: 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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240826080408.2522978-1-ruanjinjie@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions