diff options
| author | 2024-09-04 17:23:09 +0800 | |
|---|---|---|
| committer | 2024-09-05 15:04:44 +0200 | |
| commit | 8abc67adc9ac1ba4d322b24e00027b8ccdba25c0 (patch) | |
| tree | b65f29450062e82ffae6cbfe02959b752a8485ca /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | gpio: cadence: Use helper function devm_clk_get_enabled() (diff) | |
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 <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20240904092311.9544-3-zhangzekun11@huawei.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
