summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/mt6577_auxadc.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@deviqon.com>2021-05-13 15:07:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-06-13 19:00:16 +0300
commite50aab18dd7fbfb7419d0b9c4b4e45251f36beb8 (patch)
treeb620e4f3571c585fc28dfa57a03411628a986370 /drivers/iio/adc/mt6577_auxadc.c
parentbb560edc19a535b690b81fd30d17462d129483a3 (diff)
downloadlinux-e50aab18dd7fbfb7419d0b9c4b4e45251f36beb8.tar.xz
iio: adc: ad7780: 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 AD7780 driver to use device-managed functions. Only the regulator disable requires a devm_add_action_or_reset() callback. This change does that, cleaning up the driver a bit. Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com> Link: https://lore.kernel.org/r/20210513120752.90074-9-aardelean@deviqon.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/mt6577_auxadc.c')
0 files changed, 0 insertions, 0 deletions