iio: health/afe440x: Always use separate gain values
authorAndrew F. Davis <afd@ti.com>
Sun, 1 May 2016 20:36:54 +0000 (15:36 -0500)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 10:02:39 +0000 (11:02 +0100)
commit81f517270da632c0ddf4c511a086d5aa7e5606ee
treedbaa0dacecd8ea30a2e37c9a15d68f67bc19f2d5
parente85fa0338b4c0399d7c42837f45f9afb8ede7541
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>
Documentation/ABI/testing/sysfs-bus-iio-health-afe440x
drivers/iio/health/afe4403.c
drivers/iio/health/afe4404.c
drivers/iio/health/afe440x.h