iio: health/afe440x: Use regmap fields
authorAndrew F. Davis <afd@ti.com>
Sun, 1 May 2016 20:36:59 +0000 (15:36 -0500)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 10:10:38 +0000 (11:10 +0100)
commitb36e8257641a043764c62240316610c81e36376c
tree6739afa1b341288ca45c8484b8c8d9eb7fb9554c
parent24b9dea764bdf0de8434fb4567e7f62038ba869e
iio: health/afe440x: Use regmap fields

These drivers can use regmap fields to access fields in registers, this
allows us to remove some macros/defines and simplify code, do this here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/health/afe4403.c
drivers/iio/health/afe4404.c
drivers/iio/health/afe440x.h