linux_dsm_epyc7002/drivers/iio/imu
Rohit Sarkar 2ca73823d0 iio: imu: adis16460: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE
debugfs_create_file_unsafe does not protect the fops handed to it
against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of
the file lifetime and thus protects it against removal.

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
Tested-by Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-04-19 16:56:25 +01:00
..
bmi160 iio: imu: bmi160_spi: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:17 +01:00
inv_mpu6050 iio: imu: inv_mpu6050: add debugfs register r/w interface 2020-04-19 16:56:20 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: configure full scale on slave device if supported 2020-04-19 16:56:24 +01:00
adis16400.c iio: imu: adis16400: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE 2020-04-19 16:56:25 +01:00
adis16460.c iio: imu: adis16460: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE 2020-04-19 16:56:25 +01:00
adis16480.c iio: adis16480: Make use of __adis_initial_startup 2020-03-08 17:28:31 +00:00
adis_buffer.c iio: imu: adis_buffer: Use new structure for SPI transfer delays 2020-03-08 17:28:45 +00:00
adis_trigger.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
adis.c iio: imu: adis: add support product ID check in adis_initial_startup 2020-03-08 17:28:31 +00:00
fxos8700_core.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_i2c.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_spi.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
Kconfig iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
kmx61.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330 2019-06-05 17:37:06 +02:00
Makefile iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00