• Martin Kepplinger's avatar
    iio: imu: st_lsm6dsx: make IIO_CHAN_INFO_SCALE shared by type · 3e23a54b
    Martin Kepplinger authored
    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_seperate".
    
    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 seperate 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.
    Signed-off-by: Martin Kepplinger's avatarMartin Kepplinger <martin.kepplinger@puri.sm>
    3e23a54b
Name
Last commit
Last update
Documentation Loading commit data...
LICENSES Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.clang-format Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...