forked from Minki/linux
staging:iio:hmc5843: Trivial cleanup
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
9d5ad0c3e7
commit
094509b1d1
@ -587,7 +587,7 @@ static int hmc5843_remove(struct i2c_client *client)
|
|||||||
iio_device_unregister(indio_dev);
|
iio_device_unregister(indio_dev);
|
||||||
iio_triggered_buffer_cleanup(indio_dev);
|
iio_triggered_buffer_cleanup(indio_dev);
|
||||||
|
|
||||||
/* sleep mode to save power */
|
/* sleep mode to save power */
|
||||||
hmc5843_set_mode(iio_priv(indio_dev), HMC5843_MODE_SLEEP);
|
hmc5843_set_mode(iio_priv(indio_dev), HMC5843_MODE_SLEEP);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user