summaryrefslogtreecommitdiff
path: root/drivers/iio/test
diff options
context:
space:
mode:
authorJagath Jog J <jagathjog1996@gmail.com>2022-02-23 19:35:20 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-26 21:38:00 +0300
commit4a68b326112a3afa57d580ccbaf892b1baf3ec35 (patch)
tree1c3185dd446984227a25635ab0f5d888324a9c09 /drivers/iio/test
parentd3616e09baa5b3fe9b45270c60ef693879e215ff (diff)
downloadlinux-4a68b326112a3afa57d580ccbaf892b1baf3ec35.tar.xz
iio: potentiometer: ds1803: Add available functionality
Adding available functionality for DS1803 driver which will show the minimum, step and maximum values that the driver can accepts through sysfs entry. Now using the max value present in avail array instead of chip type specific macro to make the driver flexible to add other type of potentiometer with different max position value. Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220223163525.13399-3-jagathjog1996@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/test')
0 files changed, 0 insertions, 0 deletions