kernel_optimize_test/drivers/iio/pressure
Michael Nosthoff 8b438686a0 iio: st_pressure: st_accel: pass correct platform data to init
Commit 7383d44b added a pointer pdata which get set to the default
platform_data when non was defined in the device. But it did not
pass this pointer to the st_sensors_init_sensor call but still
used the maybe uninitialized platform_data from dev.

This breaks initialization when no platform_data is given and
the optional st,drdy-int-pin devicetree option is not set.

This commit fixes this.

Cc: stable@vger.kernel.org
Fixes: 7383d44b ("iio: st_pressure: st_accel: Initialise sensor platform data properly")
Signed-off-by: Michael Nosthoff <committed@heine.so>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-03-10 16:28:05 +00:00
..
abp060mg.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
bmp280-core.c iio:pressure:bmp280: Read calibration data in probe 2018-01-08 16:03:43 +01:00
bmp280-i2c.c
bmp280-regmap.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bmp280-spi.c
bmp280.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cros_ec_baro.c iio: cros_ec: Remove unused variable 2017-09-24 12:34:57 +01:00
hid-sensor-press.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
hp03.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
hp206c.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
Kconfig iio: pressure: Fix name of BME280 part in Kconfig 2017-04-23 12:38:47 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpl115_i2c.c
mpl115_spi.c
mpl115.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
mpl115.h
mpl3115.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
ms5611_core.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
ms5611_i2c.c
ms5611_spi.c
ms5611.h
ms5637.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
st_pressure_buffer.c
st_pressure_core.c iio: st_pressure: st_accel: pass correct platform data to init 2018-03-10 16:28:05 +00:00
st_pressure_i2c.c iio: pressure: add support to LPS33HW and LPS35HW 2017-09-03 18:10:33 +01:00
st_pressure_spi.c iio: pressure: add support to LPS33HW and LPS35HW 2017-09-03 18:10:33 +01:00
st_pressure.h iio: pressure: add support to LPS33HW and LPS35HW 2017-09-03 18:10:33 +01:00
t5403.c iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:35:27 +01:00
zpa2326_i2c.c
zpa2326_spi.c
zpa2326.c Merge 4.14-rc6 into staging-next 2017-10-23 14:29:43 +02:00
zpa2326.h