iio: frequency: ad9523: convert rest of driver to device managed functions
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Wed, 22 Jul 2020 07:22:01 +0000 (10:22 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Aug 2020 09:53:14 +0000 (10:53 +0100)
commita507801275559a4c89b4a7ebbba983104ee2bd06
tree5eb3a0bb25925f33b507cd7e0a27130f5f8c8bbc
parent6da3a6ce281fa7a51e1e3af0fa6d9e52bd9bf11a
iio: frequency: ad9523: convert rest of driver to device managed functions

The driver pretty much uses device managed functions. The only left-over is
the iio_device_register() function, which also requires an action-or-reset
hook to disable the regulator on the remove and error path.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/frequency/ad9523.c