summaryrefslogtreecommitdiffstats
path: root/lib/iomap.c
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2019-03-15 10:52:30 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 20:20:02 +0100
commite32cff6f6163fa03b41812eeab0f8d6a429ef416 (patch)
tree3aaedc7063f5639d61f2a6d780f961c6c91135d9 /lib/iomap.c
parent9f29b00c582641b865d3476dd81944375415ae0e (diff)
downloadlinux-e32cff6f6163fa03b41812eeab0f8d6a429ef416.tar.bz2
iio: adc: lpc32xx: Add scale feature
Until now this driver only exposed the raw value of the channels. With this patch, the scale value is also exposed. It depends of a regulator supply, and unlike most of the other driver, do not having this regulator won't prevent to use the driver. The reason for it is to allow to continue to use this driver with an old device tree. If there is no regulator supply then the scale won't be exposed. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions