iio:adc:ad799x: Use BIT() and GENMASK()
authorPeter Meerwald <pmeerw@pmeerw.net>
Sat, 6 Dec 2014 05:54:00 +0000 (05:54 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Jul 2014 20:55:42 +0000 (21:55 +0100)
commite1c6e2a2173c88c1be6a43df407567ae1c11cc22
treec4e6f514cb6c54e7b6b1bc8f946234887627e859
parentbd3bd4328a6743b836c9759f7510cd0ad6580a23
iio:adc:ad799x: Use BIT() and GENMASK()

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ad799x.c