Commit 97ad10bb authored by Shreeya Patel's avatar Shreeya Patel Committed by Jonathan Cameron
Browse files

iio: adc: rockchip_saradc: Make use of devm_clk_get_enabled



Use devm_clk_get_enabled() to avoid manually disabling the
clock.

Signed-off-by: default avatarShreeya Patel <shreeya.patel@collabora.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230603185340.13838-4-shreeya.patel@collabora.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 757953f8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment