commit | bd5dcdeb3fd0784e492efe1132c006663e6c74ba | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <aardelean@deviqon.com> | Thu May 13 15:07:50 2021 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Jun 13 17:00:16 2021 +0100 |
tree | 42f4cd38d1255e436e25f6b31dc68dfa9baa9da4 | |
parent | c9ec2cb328e3273327efad09f99f3744a778108a [diff] |
iio: adc: ad7192: convert to device-managed functions With the devm_ad_sd_setup_buffer_and_trigger() helper, it's a bit easier now to convert the probe of the AD7192 driver to use device-managed functions. The regulators and the mclk requires devm_add_action_or_reset() callbacks though. Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com> Link: https://lore.kernel.org/r/20210513120752.90074-11-aardelean@deviqon.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>