Searched hist:a98d2b029b7c9ca6cf03cb816da3e8c4800882c6 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/potentiometer/ |
H A D | ds1803.c | diff a98d2b029b7c9ca6cf03cb816da3e8c4800882c6 Wed Feb 23 17:35:21 CET 2022 Jagath Jog J <jagathjog1996@gmail.com> iio: potentiometer: ds1803: Add channel information in device data
Adding each device wiper count and channel information into device private data. Utilizing addr member of struct iio_chan_spec to get the wiper register address so that the value can be read or write to the same address.
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-4-jagathjog1996@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|