aboutsummaryrefslogtreecommitdiff
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorZhang Zekun <[email protected]>2024-09-04 17:23:10 +0800
committerBartosz Golaszewski <[email protected]>2024-09-05 15:04:44 +0200
commit162b169656039027986f16b82a20745523dbf891 (patch)
treea233570b4d673ea0d58e1e93ee415281acd4f0bd /lib/test_bitmap.c
parent8abc67adc9ac1ba4d322b24e00027b8ccdba25c0 (diff)
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 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions