aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xilinx.c
diff options
context:
space:
mode:
authorZhang Zekun <[email protected]>2024-09-04 09:23:09 +0000
committerBartosz Golaszewski <[email protected]>2024-09-05 13:04:44 +0000
commit8abc67adc9ac1ba4d322b24e00027b8ccdba25c0 (patch)
treeb65f29450062e82ffae6cbfe02959b752a8485ca /drivers/gpio/gpio-xilinx.c
parentgpio: cadence: Use helper function devm_clk_get_enabled() (diff)
downloadkernel-8abc67adc9ac1ba4d322b24e00027b8ccdba25c0.tar.gz
kernel-8abc67adc9ac1ba4d322b24e00027b8ccdba25c0.zip
gpio: lpc18xx: Use helper function devm_clk_get_enabled()
devm_clk_get() and clk_prepare_enable() can be replaced by helper function devm_clk_get_enabled(). Let's use devm_clk_get_enabled() to simplify code 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