staging: iio: set proper supply name to devm_regulator_get()
authorEva Rachel Retuya <eraretuya@gmail.com>
Mon, 31 Oct 2016 17:04:30 +0000 (01:04 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Nov 2016 16:07:13 +0000 (16:07 +0000)
commitc834e1718aae6150936af718db9e483993d2c63f
treefd8261d18a890a41751a2c7bd159349ecdd06c90
parent7f2d496b5e33881431d91c25b11aae1f7e31a015
staging: iio: set proper supply name to devm_regulator_get()

The name passed to devm_regulator_get() should match the name of the
supply as specified in the device datasheet. This makes it clear what
power supply is being referred to in case of presence of other
regulators.

Currently, the supply name specified on the affected devices is 'vcc'.
Use lowercase version of the datasheet name to specify the supply
voltage.

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/adc/ad7192.c
drivers/staging/iio/adc/ad7780.c
drivers/staging/iio/frequency/ad9832.c
drivers/staging/iio/frequency/ad9834.c
drivers/staging/iio/impedance-analyzer/ad5933.c