mbox series

[-next,0/4] iio: Use devm_clk_get_enabled() helper function

Message ID 20230825105746.2999548-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series iio: Use devm_clk_get_enabled() helper function | expand

Message

Jinjie Ruan Aug. 25, 2023, 10:57 a.m. UTC
Commit 7ef9651e9792 ("clk: Provide new devm_clk helpers for prepared
and enabled clocks") provides a new helper function to prepare and
enable a clock which keeps prepared (or enabled) during the whole
lifetime of the driver.

Jinjie Ruan (4):
  iio: adc: at91_adc: Use devm_clk_get_enabled() helper function
  iio: adc: mt6577_auxadc: Use devm_clk_get_enabled() helper function
  iio: adc: spear_adc: Use devm_clk_get_enabled() helper function
  iio: frequency: adf4350: Use devm_clk_get_enabled() helper function

 drivers/iio/adc/at91_adc.c      | 38 +++++++++------------------------
 drivers/iio/adc/mt6577_auxadc.c | 17 +++------------
 drivers/iio/adc/spear_adc.c     | 30 ++++++--------------------
 drivers/iio/frequency/adf4350.c | 20 +++++------------
 4 files changed, 25 insertions(+), 80 deletions(-)