diff options
author | Jagath Jog J <jagathjog1996@gmail.com> | 2022-02-23 19:35:23 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-26 21:39:24 +0300 |
commit | 9b68725e90e44fdf54dd8838fb8105d1086b0211 (patch) | |
tree | 11343b352ad3de1919d0ecac50953023692fbd2c /block | |
parent | 6450b62cb2f28c4a7faf0241fe43dc490e6ed856 (diff) | |
download | linux-9b68725e90e44fdf54dd8838fb8105d1086b0211.tar.xz |
iio: potentiometer: ds1803: Add device specific read_raw function
Added function pointer in the device specific structure to
call the appropriate device read_raw function, so that the
other type of devices with different read method can be
handled.
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-6-jagathjog1996@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions