Re: [PATCH 2/4] iio: pressure: bmp280: use devm_iio_device_register()

2019-10-06 Thread Jonathan Cameron
On Wed, 2 Oct 2019 10:57:57 +0200 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We can use the managed variant of iio_device_register() and remove > the corresponding unregister operation from the remove callback. > > Signed-off-by: Bartosz Golaszewski This results in a race wh

[PATCH 2/4] iio: pressure: bmp280: use devm_iio_device_register()

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We can use the managed variant of iio_device_register() and remove the corresponding unregister operation from the remove callback. Signed-off-by: Bartosz Golaszewski --- drivers/iio/pressure/bmp280-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff