staging: iio: ad9832: add DVDD regulator
authorEva Rachel Retuya <eraretuya@gmail.com>
Mon, 31 Oct 2016 17:04:34 +0000 (01:04 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Nov 2016 16:22:09 +0000 (16:22 +0000)
commita98461d79ba5bd9c5a83be3f5860cba5d5b54617
tree1d8ef874f6762847aa156f1be9967957d9a71564
parent9d1548143faf00142937e37c359047a52a2d0d1d
staging: iio: ad9832: add DVDD regulator

The AD9832/AD9835 is supplied with two power sources: AVDD as analog
supply voltage and DVDD as digital supply voltage.

Attempt to fetch and enable the regulator 'dvdd'. Bail out if any error
occurs.

Suggested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/frequency/ad9832.c
drivers/staging/iio/frequency/ad9832.h