Re: [PATCH] iio: temperature: tmp007: use device-managed functions in probe

2021-03-14 Thread Manivannan Sadhasivam
On Wed, Mar 10, 2021 at 11:38:00AM +0200, Alexandru Ardelean wrote: > This change converts the driver to use device-managed functions in the > probe function. The power-down call is handled now via a > devm_add_action_or_reset() hook, and then devm_iio_device_register() can be > used to register

Re: [PATCH] iio: temperature: tmp007: use device-managed functions in probe

2021-03-13 Thread Jonathan Cameron
On Wed, 10 Mar 2021 11:38:00 +0200 Alexandru Ardelean wrote: > This change converts the driver to use device-managed functions in the > probe function. The power-down call is handled now via a > devm_add_action_or_reset() hook, and then devm_iio_device_register() can be > used to register the

[PATCH] iio: temperature: tmp007: use 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. The power-down call is handled now via a devm_add_action_or_reset() hook, and then devm_iio_device_register() can be used to register the IIO device. The final aim here would be for IIO to export only the