summaryrefslogtreecommitdiffstats
path: root/drivers/soc/pxa
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-09-04 11:23:11 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-09-05 15:04:44 +0200
commit4e26ddab828f82f5ebf0fe6d92a6983ca13c519a (patch)
treeab07074cb495a04f8814de4f0097b30b2d47df0b /drivers/soc/pxa
parentgpio: mb86s7x: Use helper function devm_clk_get_optional_enabled() (diff)
downloadlinux-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/soc/pxa')
0 files changed, 0 insertions, 0 deletions