]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: adc: ad7192: Use read_avail for available attributes
authorMircea Caprioru <mircea.caprioru@analog.com>
Tue, 19 Mar 2019 14:25:20 +0000 (16:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:50 +0000 (20:20 +0100)
commitf679bea1f8c2b4d43ab60ba6aadd4e55bf5c25f7
treea7577b3f41776155f2d06c099f29f0593582e742
parentd10981c963464d7e797c4e9f051de176282a5fd4
staging: iio: adc: ad7192: Use read_avail for available attributes

This patch removes the in_voltage-voltage_scale_available and
in_voltage_scale_available attributes. These are replaced with available
attributes added in info_mask_shared_by_type_available.

With this modification the iio core will be responsible with naming the
attributes thus removing the checkpatch warning related to
in_voltage-voltage_scale_available naming.

Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7192.c