staging:iio:ad7291 cleanup defines
authorHartmut Knaack <knaack.h@gmx.de>
Thu, 7 Aug 2014 11:06:00 +0000 (12:06 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 8 Jul 2014 20:12:25 +0000 (21:12 +0100)
commit5714d0c13a34e04436974b61a3bc805fd055459a
treec175dead56ac9dbe96169f0ea907d3d04bac9a62
parent975d98cef83043d3aad3ec3f4554494071a01531
staging:iio:ad7291 cleanup defines

Use BIT and GENMASK, remove unused defines, use AD7291_VOLTAGE_OFFSET
definition and move AD7291_BITS.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7291.c