diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-03-22 17:26:56 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-19 16:56:15 +0100 |
commit | 1cfe38fc40e6d3d86e8fc88f9e2c080b9b38df3d (patch) | |
tree | 5d31936be37ab256206fa3ea0657e37ba9faa5cc /drivers/uio/uio_aec.c | |
parent | b7329249ea5b08b2a1c2c3f24a2f4c495c4f14b8 (diff) | |
download | linux-1cfe38fc40e6d3d86e8fc88f9e2c080b9b38df3d.tar.bz2 |
iio: adc: ad7793: use read_avail iio hook for scale available
This change uses the read_avail and '.info_mask_shared_by_type_available'
modifier to set the available scale.
Essentially, nothing changes to the driver's ABI.
The main idea for this patch is to remove the AD7793 driver from
checkpatch's radar. There have been about ~3 attempts to fix/break the
'in_voltage-voltage_scale_available' attribute, because checkpatch assumed
it to be an arithmetic operation and people were trying to change that.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/uio/uio_aec.c')
0 files changed, 0 insertions, 0 deletions