kernel_optimize_test/drivers/iio/accel
Chuhong Yuan d7369ae1f4 iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()
The function iio_device_register() was called in mma8452_probe().
But the function iio_device_unregister() was not called after
a call of the function mma8452_set_freefall_mode() failed.
Thus add the missed function call for one error case.

Fixes: 1a965d405f ("drivers:iio:accel:mma8452: added cleanup provision in case of failure.")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-06-14 12:32:23 +01:00
..
adis16201.c iio: imu: adis: Add self_test_reg variable 2020-03-08 17:28:30 +00:00
adis16209.c iio: imu: adis: Add self_test_reg variable 2020-03-08 17:28:30 +00:00
adxl345_core.c
adxl345_i2c.c
adxl345_spi.c
adxl345.h
adxl372_i2c.c
adxl372_spi.c
adxl372.c iio: accel: adxl372: Set iio_chan BE 2020-03-08 16:21:21 +00:00
adxl372.h
bma180.c iio: accel: Add bma150/smb380 support to bma180 2020-05-16 16:06:00 +01:00
bma220_spi.c
bma400_core.c iio: accel: bma400: prevent setting accel scale too low 2020-01-18 13:33:11 +00:00
bma400_i2c.c iio: accel: Add driver for the BMA400 2019-12-29 15:20:02 +00:00
bma400.h iio: accel: bma400: basic regulator support 2019-12-29 15:20:02 +00:00
bmc150-accel-core.c iio: fix center temperature of bmc150-accel-core 2019-09-08 13:11:50 +01:00
bmc150-accel-i2c.c
bmc150-accel-spi.c
bmc150-accel.h
cros_ec_accel_legacy.c iio: cros_ec: Register to cros_ec_sensorhub when EC supports FIFO 2020-03-28 22:04:32 +01:00
da280.c
da311.c
dmard06.c iio: accel: dmard06: Use mod_devicetable.h and drop of_match_ptr macro 2020-04-25 15:29:09 +01:00
dmard09.c
dmard10.c
hid-sensor-accel-3d.c iio: hid-sensors: move triggered buffer setup into hid_sensor_setup_trigger 2020-05-10 09:35:53 +01:00
Kconfig iio: accel: Add bma150/smb380 support to bma180 2020-05-16 16:06:00 +01:00
kxcjk-1013.c iio: accel: kxcjk1013: Support orientation matrix 2020-01-18 14:26:13 +00:00
kxsd9-i2c.c iio: accel: kxsd9-i2c: Use mod_devicetable.h and drop of_match_ptr macro 2020-04-25 15:31:34 +01:00
kxsd9-spi.c
kxsd9.c
kxsd9.h
Makefile iio: accel: Add driver for the BMA400 2019-12-29 15:20:02 +00:00
mc3230.c
mma7455_core.c
mma7455_i2c.c
mma7455_spi.c
mma7455.h
mma7660.c
mma8452.c iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe() 2020-06-14 12:32:23 +01:00
mma9551_core.c
mma9551_core.h
mma9551.c
mma9553.c
mxc4005.c iio:accel:mxc4005: Drop unnecessary explicit casts in regmap_bulk_read calls 2020-04-19 16:56:38 +01:00
mxc6255.c
sca3000.c iio: sca3000: Remove an erroneous 'get_device()' 2020-05-10 10:53:36 +01:00
ssp_accel_sensor.c
st_accel_buffer.c iio: st_sensors: Drop unneeded explicit castings 2020-03-21 10:26:21 +00:00
st_accel_core.c iio: accel: st_sensors: add support for LIS2HH12 2020-04-19 16:56:30 +01:00
st_accel_i2c.c First set of new IIO device support, features and cleanup for the 5.8 cycle 2020-04-23 11:06:48 +02:00
st_accel_spi.c iio: st_sensors: Make use of device properties 2020-01-13 21:53:39 +00:00
st_accel.h iio: accel: st_sensors: add support for LIS2HH12 2020-04-19 16:56:30 +01:00
stk8ba50.c
stk8312.c