linux-stable/drivers/iio/chemical
Jonathan Cameron ce968fb6f9 iio:chemical:bme680: Tidy up parameters to regmap_bulk_read
A mixture of:
* Unnecessary casts of val parameter to u8 * which makes little sense as
  the function take a void *.
* Explicit sizes where we can use the destination type to define that.
  Note that's not true in all cases as we do read 3 bytes into 4 byte
  destinations.

Note that noting was broken here, I'm just trying to ensure this doesn't
get cut and paste into more drivers so cleaning these out subsystem wide.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Himanshu Jha <himanshujha199640@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
2020-04-19 16:56:39 +01:00
..
ams-iaq-core.c
atlas-sensor.c iio:chemical:atlas-sensor: Drop unnecessary explicit casts in regmap_bulk_read calls 2020-04-19 16:56:39 +01:00
bme680.h iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
bme680_core.c iio:chemical:bme680: Tidy up parameters to regmap_bulk_read 2020-04-19 16:56:39 +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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig iio: chemical: pms7003: fix unmet triggered buffer dependency 2020-01-13 12:08:32 +01:00
Makefile iio: chemical: atlas-ph-sensor: rename atlas-ph-sensor to atlas-sensor 2019-12-29 15:20:06 +00:00
pms7003.c iio: chemical: pms7003: extend supported sensors list 2019-04-04 20:19:40 +01:00
sgp30.c iio: chemical: sgp30: drop excess semicolon 2019-10-22 12:41:07 +01:00
sps30.c iio: chemical: sps30: Explicity truncate constant by masking 2019-10-18 19:52:03 +01:00
vz89x.c