linux/drivers/iio/accel
Akinobu Mita 9048f1f18a iio: accel: adxl345: convert address field usage in iio_chan_spec
Currently the address field in iio_chan_spec is filled with an accel
data register address for the corresponding axis.

In preparation for adding calibration offset support, this sets the
address field to the index of accel data registers instead of the actual
register address.

This change makes it easier to access both accel registers and
calibration offset registers with fewer lines of code as these are
located in X-axis, Y-axis, Z-axis order.

Cc: Eva Rachel Retuya <eraretuya@gmail.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-06-30 18:25:05 +01:00
..
adis16201.c Staging: iio: accel: adis16201: Move adis16201 driver out of staging 2018-03-24 14:26:19 +00:00
adis16209.c Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
adxl345_core.c iio: accel: adxl345: convert address field usage in iio_chan_spec 2018-06-30 18:25:05 +01:00
adxl345_i2c.c
adxl345_spi.c
adxl345.h
bma180.c
bma220_spi.c
bmc150-accel-core.c iio: accel: bcm150: Remove handling for regmap raw_read_max 2018-04-28 17:01:55 +01:00
bmc150-accel-i2c.c
bmc150-accel-spi.c
bmc150-accel.h
cros_ec_accel_legacy.c
da280.c
da311.c
dmard06.c
dmard09.c
dmard10.c
hid-sensor-accel-3d.c
Kconfig Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
kxcjk-1013.c
kxsd9-i2c.c
kxsd9-spi.c
kxsd9.c
kxsd9.h
Makefile Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
mc3230.c
mma7455_core.c
mma7455_i2c.c
mma7455_spi.c
mma7455.h
mma7660.c
mma8452.c iio: accell: mma8452: Reduce sleep time when data not ready 2018-05-12 12:12:13 +01:00
mma9551_core.c
mma9551_core.h
mma9551.c
mma9553.c
mxc4005.c
mxc6255.c
sca3000.c iio: sca3000: Handle errors returned by 'sca3000_configure_ring()' in 'sca3000_probe()' 2018-04-15 20:18:25 +01:00
ssp_accel_sensor.c
st_accel_buffer.c
st_accel_core.c iio: st_pressure: st_accel: pass correct platform data to init 2018-03-10 16:28:05 +00:00
st_accel_i2c.c iio: accel: st_accel: Add support for the SMO8840 ACPI id 2018-04-21 16:29:24 +01:00
st_accel_spi.c
st_accel.h
stk8ba50.c
stk8312.c