diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-09-04 11:23:11 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-09-05 15:04:44 +0200 |
commit | 4e26ddab828f82f5ebf0fe6d92a6983ca13c519a (patch) | |
tree | ab07074cb495a04f8814de4f0097b30b2d47df0b /drivers/perf/starfive_starlink_pmu.c | |
parent | gpio: mb86s7x: Use helper function devm_clk_get_optional_enabled() (diff) | |
download | linux-4e26ddab828f82f5ebf0fe6d92a6983ca13c519a.tar.xz linux-4e26ddab828f82f5ebf0fe6d92a6983ca13c519a.zip |
gpio: xilinx: Use helper function devm_clk_get_optional_enabled()
devm_clk_get_optional() and clk_prepare_enable() can be replaced by helper
function devm_clk_get_optional_enabled(). Let's simplify code with use of
devm_clk_get_optional_enabled() and avoid calling clk_disable_unprepare().
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20240904092311.9544-5-zhangzekun11@huawei.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/perf/starfive_starlink_pmu.c')
0 files changed, 0 insertions, 0 deletions