aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xilinx.c
diff options
context:
space:
mode:
authorZhang Zekun <[email protected]>2024-09-04 09:23:10 +0000
committerBartosz Golaszewski <[email protected]>2024-09-05 13:04:44 +0000
commit162b169656039027986f16b82a20745523dbf891 (patch)
treea233570b4d673ea0d58e1e93ee415281acd4f0bd /drivers/gpio/gpio-xilinx.c
parentgpio: lpc18xx: Use helper function devm_clk_get_enabled() (diff)
downloadkernel-162b169656039027986f16b82a20745523dbf891.tar.gz
kernel-162b169656039027986f16b82a20745523dbf891.zip
gpio: mb86s7x: 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-xilinx.c')
0 files changed, 0 insertions, 0 deletions