Re: [PATCH] staging: iio: ad9834: convert to device-managed functions in probe

2021-03-13 Thread Jonathan Cameron
On Wed, 10 Mar 2021 11:51:31 +0200 Alexandru Ardelean wrote: > This change converts the driver to use device-managed functions in the > probe function. For the clock and regulator disable, some > devm_add_action_or_reset() calls are required, and then > devm_iio_device_register() function can be

[PATCH] staging: iio: ad9834: convert to device-managed functions in probe

2021-03-10 Thread Alexandru Ardelean
This change converts the driver to use device-managed functions in the probe function. For the clock and regulator disable, some devm_add_action_or_reset() calls are required, and then devm_iio_device_register() function can be used register the IIO device. The final aim here would be for IIO to