iio:pressure:ms5611: power regulator support

Add support for an optional regulator which, if found into device-tree,
will power on device at probing time.
The regulator is declared into ms5611 DTS entry as a "vdd-supply" property.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Grégor Boirie 2016-02-17 18:52:51 +01:00 • committed by Jonathan Cameron
commit 3145229f91