iio:adc:ad799x: Add helper function to read/write config register
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:57:09 +0000 (21:57 +0100)
commit89ca79afe50e9e9608ad3315bf099fdbb82c4eb5
tree7ad78e12ebda34b5c25de1703c31776afd0dadb0
parentef0bf6f82d4bc2edaa88eaf679b5acc355f27037
iio:adc:ad799x: Add helper function to read/write config register

16-bit on ad7997/ad7998, 8-bit elsewhere

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