OSDN Git Service

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)
commit2b0d1c6f121907a5bee0b6d81b47e2e7105119a4
treea7577b3f41776155f2d06c099f29f0593582e742
parent54480943235e0533d5ffd6d64697eb38df8b7c0c
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