linux-stable/drivers/iio
Andy Shevchenko 7008f35c4a iio: proximity: sx_common: Don't use IIO device for properties
It's not correct to use artificial device created by IIO core to
retrieve device properties. Even ->get_default_reg() callback
takes a simple struct device pointer which suggests it wants to
operate on the real device.

Correct this by replacing pointer to IIO device by a real device
pointer in the caller of ->get_default_reg().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20220615114746.2767-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-07-16 16:41:33 +01:00
..
accel IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
adc IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
addac iio: addac: ad74413r: Fix alignment for DMA safety 2022-06-14 11:53:15 +01:00
afe 1st set of IIO fixes for the 5.19 cycle. 2022-06-20 09:49:52 +02:00
amplifiers iio: amplifiers: ad8366: Fix alignment for DMA safety 2022-06-14 11:53:15 +01:00
buffer iio: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
cdc
chemical IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
common iio: common: cros_ec_sensors: explicitly add proper header files 2022-06-14 11:53:20 +01:00
dac iio: dac: ad5380: align '*' each line and drop unneeded blank line 2022-07-01 11:19:08 +01:00
dummy Bitmap patches for 5.19-rc1 2022-06-04 14:04:27 -07:00
filter iio:filter:admv8818: select REGMAP_SPI for ADMV8818 2022-04-04 09:19:01 +01:00
frequency IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
gyro IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
health iio: health: afe4404: Remove duplicated error reporting in .remove() 2022-06-11 14:35:26 +01:00
humidity IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
imu IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
light iio: light: cm32181: Add PM support 2022-07-07 17:50:04 +01:00
magnetometer IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
multiplexer iio: multiplexer: Make use of device properties 2022-04-04 09:11:24 +01:00
orientation iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
position iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
potentiometer iio: potentiometer: mcp4131: Fix alignment for DMA safety 2022-06-14 11:53:19 +01:00
potentiostat iio: lmp91000: Remove no-op trigger ops 2021-11-17 17:51:38 +00:00
pressure iio: pressure: bmp280: Move symbol exports to IIO_BMP280 namespace 2022-06-21 21:30:31 +01:00
proximity iio: proximity: sx_common: Don't use IIO device for properties 2022-07-16 16:41:33 +01:00
resolver iio: resolver: ad2s90: Fix alignment for DMA safety 2022-06-14 11:53:19 +01:00
temperature iio: temp: maxim_thermocouple: Fix alignment for DMA safety 2022-06-14 11:53:19 +01:00
test iio: test: fix missing MODULE_LICENSE for IIO_RESCALE=m 2022-06-19 17:22:49 +01:00
trigger IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
iio_core.h iio: Mark iio_device_type as const 2021-11-17 17:51:35 +00:00
iio_core_trigger.h
industrialio-buffer.c iio: Don't use bare "unsigned" 2022-07-01 11:19:08 +01:00
industrialio-configfs.c
industrialio-core.c iio: Don't use bare "unsigned" 2022-07-01 11:19:08 +01:00
industrialio-event.c iio: Replace strtobool() with kstrtobool() 2022-04-28 19:22:54 +01:00
industrialio-sw-device.c iio: Don't use bare "unsigned" 2022-07-01 11:19:08 +01:00
industrialio-sw-trigger.c iio: Don't use bare "unsigned" 2022-07-01 11:19:08 +01:00
industrialio-trigger.c iio: trigger: move trig->owner init to trigger allocate() stage 2022-07-16 16:24:19 +01:00
industrialio-triggered-event.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
inkern.c iio: inkern: make a best effort on offset calculation 2022-01-30 14:38:03 +00:00
Kconfig iio: add filter subfolder 2021-12-16 17:29:46 +00:00
Makefile iio: add filter subfolder 2021-12-16 17:29:46 +00:00
TODO