]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:ad7793: Rework regulator handling
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 21 Nov 2012 16:27:00 +0000 (16:27 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 30 Nov 2012 12:57:07 +0000 (12:57 +0000)
commitdd2c101348cb725cfd3c9aa6c53c3443f2746c93
tree8a6bd0759e1a9ed256eec50668a1c4b9e14d3add
parentd21f30c99e7c46cceb19f45e378a8d6a0a707428
staging:iio:ad7793: Rework regulator handling

Rework the regulator handling of the driver to match more closely what we do in
other drivers. Make the regulator non-optional if a external reference is used.
Also dispose the option of specifying the reference voltage via platform data.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7793.c
drivers/staging/iio/adc/ad7793.h