diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-06-14 16:58:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-06-14 21:55:17 +0100 |
commit | 1df9d1d4a1cb666042c3217aef6a6dc38eed1de0 (patch) | |
tree | 4ba8780c196acc46f1612553865d4fafa84865b5 /fs/Makefile | |
parent | 88198d2b4238b8f711918abe5e2b9bd7efc7c775 (diff) |
staging:iio:ad7291: Rework regulator handlingiio-for-3.11c
Add platform_data for the driver which allows to specify whether an external
reference voltage is used or not. It is not possible to use the return value of
regulator_get() for this since the regulator framework is able to return a dummy
regulator in case no regulator has been specified. In this case the driver will
always get a valid regulator, no matter if it has been specified or not. Also
make the regulator non-optional if platform_data states that an external
reference voltage should be used.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions