summaryrefslogtreecommitdiff
path: root/include/linux/litex.h
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-09-04 12:23:11 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-09-05 16:04:44 +0300
commit4e26ddab828f82f5ebf0fe6d92a6983ca13c519a (patch)
treeab07074cb495a04f8814de4f0097b30b2d47df0b /include/linux/litex.h
parent162b169656039027986f16b82a20745523dbf891 (diff)
downloadlinux-4e26ddab828f82f5ebf0fe6d92a6983ca13c519a.tar.xz
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 'include/linux/litex.h')
0 files changed, 0 insertions, 0 deletions