aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2023-08-26 14:27:31 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-11 20:12:39 +0100
commit3878ae2a1a7636be7009e20b48d4fc00adab8cf4 (patch)
tree1ccfeea2292e227d04bb1fcf030d7f96d57b74ea /scripts/Makefile.thinlto
parentiio: adc: mt6577_auxadc: Use devm_clk_get_enabled() helper function (diff)
iio: adc: spear_adc: Use device managed function
The devm_clk_get_enabled() helper: - calls devm_clk_get() - calls clk_prepare_enable() and registers what is needed in order to call clk_disable_unprepare() when needed, as a managed resource. Switch to devm_iio_device_register() and drop the remove function. This simplifies the code. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Link: https://lore.kernel.org/r/20230826062733.3714169-2-ruanjinjie@huawei.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions