linux/drivers/staging/iio
Jinjie Ruan 5ff46635e4 staging: iio: Use devm_clk_get_enabled() helper 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.

This simplifies the code and avoids the need of a dedicated function used
with devm_add_action_or_reset().

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230825095612.2972892-1-ruanjinjie@huawei.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-09-11 20:12:40 +01:00
..
accel staging: iio: accel: adis16240: Call '__adis_initial_startup()' 2022-11-23 20:37:51 +00:00
adc iio:adc:ad7280a: Move out of staging 2022-02-21 19:33:05 +00:00
addac staging: iio: Switch i2c drivers back to use .probe() 2023-05-28 17:40:36 +01:00
Documentation
frequency staging: iio: Use devm_clk_get_enabled() helper function 2023-09-11 20:12:40 +01:00
impedance-analyzer staging: iio: Use devm_clk_get_enabled() helper function 2023-09-11 20:12:40 +01:00
resolver Staging driver changes for 6.4-rc1 2023-04-27 11:49:35 -07:00
Kconfig staging: iio: meter: Drop ade7854 driver 2023-03-11 12:18:28 +00:00
Makefile staging: iio: meter: Drop ade7854 driver 2023-03-11 12:18:28 +00:00
TODO staging: iio: remove mention of defunct list 2021-03-25 19:13:49 +00:00