]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:ad7298: Rework regulator handling
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 15 Nov 2012 13:15:00 +0000 (13:15 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 19 Nov 2012 22:22:13 +0000 (22:22 +0000)
commitf055d075441935d422133d56ac94d4d29047b0a3
treed00c199f254cbc859a395f87bfff2ff9644b58ff
parent0c5f535bf590ae5d607c9759b5cfef48a3ec28b8
staging:iio:ad7298: 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/ad7298.h
drivers/staging/iio/adc/ad7298_core.c