Re: [PATCH] iio:dac:max517: Use devm_iio_device_register()

2021-03-14 Thread Mugilraj D
On 14/03/21 4:37 pm, Alexandru Ardelean wrote: > On Sun, Mar 14, 2021 at 11:34 AM Mugilraj Dhavachelvan > wrote: >> >> Use devm_iio_device_register() to avoid remove function and >> drop explicit call to iio_device_unregister(). >> >> Signed-off-by: Mugilraj Dhavachelvan >> --- >>

Re: [PATCH] iio:dac:max517: Use devm_iio_device_register()

2021-03-14 Thread Alexandru Ardelean
On Sun, Mar 14, 2021 at 11:34 AM Mugilraj Dhavachelvan wrote: > > Use devm_iio_device_register() to avoid remove function and > drop explicit call to iio_device_unregister(). > > Signed-off-by: Mugilraj Dhavachelvan > --- > drivers/iio/dac/max517.c | 9 + > 1 file changed, 1

[PATCH] iio:dac:max517: Use devm_iio_device_register()

2021-03-14 Thread Mugilraj Dhavachelvan
Use devm_iio_device_register() to avoid remove function and drop explicit call to iio_device_unregister(). Signed-off-by: Mugilraj Dhavachelvan --- drivers/iio/dac/max517.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/iio/dac/max517.c