iio: health/afe440x: Always use separate gain values
Locking the two gain stages to the same setting adds no value for us, so initialize them as unlocked and remove the sysfs for unlocking them. This also allows us to greatly simplify showing and setting the gain registers. Signed-off-by:Andrew F. Davis <afd@ti.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
Showing
- Documentation/ABI/testing/sysfs-bus-iio-health-afe440x 0 additions, 9 deletionsDocumentation/ABI/testing/sysfs-bus-iio-health-afe440x
- drivers/iio/health/afe4403.c 17 additions, 43 deletionsdrivers/iio/health/afe4403.c
- drivers/iio/health/afe4404.c 17 additions, 43 deletionsdrivers/iio/health/afe4404.c
- drivers/iio/health/afe440x.h 3 additions, 12 deletionsdrivers/iio/health/afe440x.h
Loading
Please register or sign in to comment