aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMartin Kepplinger <martin.kepplinger@puri.sm>2019-08-01 16:39:08 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-08-05 16:39:23 +0100
commit48cceecfa7625e700ed9c57392bd17923c4832c0 (patch)
tree11d239322ab7e80bf320c179a31258880158ccad /tools/perf/scripts/python/export-to-sqlite.py
parentiio: tsl2772: Use regulator_bulk_() APIs (diff)
downloadlinux-48cceecfa7625e700ed9c57392bd17923c4832c0.tar.gz
linux-48cceecfa7625e700ed9c57392bd17923c4832c0.zip
iio: imu: st_lsm6dsx: make IIO_CHAN_INFO_SCALE shared by type
in_accel_x_scale, in_accel_y_scale and in_accel_z_scale are always the same. The scale is still defined to be in "info_mask_separate". Userspace (iio-sensor-proxy and others) is not used to that and only looks for "in_accel_scale" for the scaling factor to apply. Change IIO_CHAN_INFO_SCALE from being separate in all channel to be shared by type. This removes in_accel_x_scale, in_accel_y_scale and in_accel_z_scale and makes available in_accel_scale. This is an ABI change, but hopefully in the 'no one will notice' category. The cleanup in interface is worth the small risk that there is a custom script out there somewhere that this will break. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions