Re: [PATCH] iio: adc: ad7887: convert probe to device-managed functions

2020-11-14 Thread Jonathan Cameron
On Fri, 13 Nov 2020 11:16:48 +0200 Alexandru Ardelean wrote: > This is conversion of the driver to use device-managed functions. > The IIO registration and triggered buffer setup both have device-managed > versions. > The regulator disable needs to be handled via an action_or_reset handler. > >

[PATCH] iio: adc: ad7887: convert probe to device-managed functions

2020-11-13 Thread Alexandru Ardelean
This is conversion of the driver to use device-managed functions. The IIO registration and triggered buffer setup both have device-managed versions. The regulator disable needs to be handled via an action_or_reset handler. With these changes, the remove hook is removed, and the error path is clean