diff options
| author | Jagath Jog J <jagathjog1996@gmail.com> | 2022-02-23 22:05:23 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-26 18:39:24 +0000 |
| commit | 9b68725e90e44fdf54dd8838fb8105d1086b0211 (patch) | |
| tree | 11343b352ad3de1919d0ecac50953023692fbd2c /lib/mpi/mpi-mod.c | |
| parent | 6450b62cb2f28c4a7faf0241fe43dc490e6ed856 (diff) | |
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 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
