diff options
author | Alexandru Ardelean | 2021-09-13 14:52:37 +0300 |
---|---|---|
committer | Jonathan Cameron | 2021-10-17 11:05:54 +0100 |
commit | 14a6ee6ec568463d1d1a800928194e769c6c802a (patch) | |
tree | aa6a446e93cb97096a5cbbe3ea41e834b6573159 /init | |
parent | 96788444302658c6bf8224a811741b81611972fa (diff) |
iio: dac: ad5064: convert probe to full device-managed
This change converts the probe of the AD5064 driver to use only
device-managed functions.
The regulator_bulk_disable() is passed on a devm_add_action_or_reset() hook
and the devm_iio_device_register() can be used to register the IIO device.
The driver has both I2C and SPI hooks inside, so all these can be removed.
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210913115237.301310-1-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions