commit | 8cfa26a77cfcad888f44c0ed902fe6c7c73783fe | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Sat Jul 29 01:20:14 2017 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Aug 20 15:41:11 2017 +0100 |
tree | 73b0a173d60e77ccaa0e4eac3d9904bbecfd209e | |
parent | 0a60340f199136e7b74f4b279e3844abf2d45485 [diff] |
iio: adc: ti-ads7950: Allow to use on ACPI platforms ACPI enabled platforms do not have a mean of regulators. Instead we use hard coded voltage value for reference pin. When value is 0 (default) we fall back to request a regulator. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>