linux-stable/drivers/iio/chemical
Jonathan Cameron 6ac282edd6 iio:chemical:sgp30: Drop of_match_ptr and use generic fw accessors
This change allow the driver to be used with ACPI PRP0001 and removes
an antipattern that I want to avoid being copied into new IIO drivers.

The handling of match_data uses a different approach as
device_get_match_data doesn't distinguish between no match, and
a match but with NULL data.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Andreas Brauchli <andreas.brauchli@sensirion.com>
Link: https://lore.kernel.org/r/20200910173242.621168-28-jic23@kernel.org
2020-09-21 18:41:32 +01:00
..
ams-iaq-core.c iio:chemical:ams-iaq-core: Drop of_match_ptr protection 2020-09-21 18:41:31 +01:00
atlas-ezo-sensor.c iio: chemical: atlas-ezo-sensor: add humidity sensor support 2020-09-03 19:40:48 +01:00
atlas-sensor.c iio:chemical:atlas-sensor: Drop of_match_ptr and use generic fw accessors 2020-09-21 18:41:31 +01:00
bme680.h iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
bme680_core.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
bme680_i2c.c iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
bme680_spi.c iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
ccs811.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig iio: chemical: scd30: add serial interface driver 2020-06-27 14:52:38 +01:00
Makefile iio: chemical: scd30: add serial interface driver 2020-06-27 14:52:38 +01:00
pms7003.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
scd30.h iio: chemical: scd30: add core driver 2020-06-27 14:46:44 +01:00
scd30_core.c iio: chemical: scd30: Simplify with dev_err_probe() 2020-09-03 19:40:50 +01:00
scd30_i2c.c iio: chemical: scd30: add I2C interface driver 2020-06-27 14:50:30 +01:00
scd30_serial.c iio: chemical: scd30: add serial interface driver 2020-06-27 14:52:38 +01:00
sgp30.c iio:chemical:sgp30: Drop of_match_ptr and use generic fw accessors 2020-09-21 18:41:32 +01:00
sps30.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
vz89x.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00