linux/drivers/iio/proximity
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
..
as3935.c iio: proximity: as3935: Fix alignment for DMA safety 2022-06-14 11:53:19 +01:00
cros_ec_mkbp_proximity.c iio: proximity: Add a ChromeOS EC MKBP proximity driver 2021-03-25 19:13:50 +00:00
isl29501.c iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-16 14:53:13 +01:00
Kconfig iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
Makefile iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
mb1232.c iio: proximity: mb1232: Switch to use fwnode_irq_get() 2022-04-28 19:28:41 +01:00
ping.c iio: proximity: ping: fix typo in comment 2022-06-11 14:35:27 +01:00
pulsedlight-lidar-lite-v2.c iio:proximity:pulsedlight: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
rfd77402.c iio:proximity:rfd77492: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
srf04.c iio: proximity: srf04: Make use of device properties 2022-06-11 14:35:25 +01:00
srf08.c iio: srf08: Remove redundant if statement 2022-06-11 14:35:27 +01:00
sx9310.c iio:proximity:sx9310: Extract common Semtech sensor logic 2022-01-23 18:03:33 +00:00
sx9324.c IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
sx9360.c iio: sx9360: Add pre-charge resistor setting 2022-06-14 11:53:11 +01:00
sx9500.c iio:proximity:sx9500: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
sx_common.c iio: proximity: sx_common: Don't use IIO device for properties 2022-07-16 16:41:33 +01:00
sx_common.h iio:proximity:sx9310: Extract common Semtech sensor logic 2022-01-23 18:03:33 +00:00
vcnl3020.c iio: proximity: vcnl3020: Drop unnecessary alignment requirement for i2c device 2022-06-14 11:53:19 +01:00
vl53l0x-i2c.c proximity: vl53l0x: Make VDD regulator actually optional 2022-06-18 17:55:17 +01:00