]> git.baikalelectronics.ru Git - kernel.git/commit
iio: inkern: Convert iio_read_avail_channel_raw into a wrapper
authorArtur Rojek <contact@artur-rojek.eu>
Sat, 23 Mar 2019 17:28:07 +0000 (18:28 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Apr 2019 10:32:20 +0000 (11:32 +0100)
commita915ca8531e1e4dd836d8c688ef49381c49be39b
treee57b950870e2540a7989784b7c5cb72eaca8df38
parent65a81419d1df498128f02dc213d6139a36318970
iio: inkern: Convert iio_read_avail_channel_raw into a wrapper

Convert "iio_read_avail_channel_raw" over to a wrapper around
"iio_read_avail_channel_attribute".

With the introduction of "iio_read_avail_channel_attribute",
the necessity of having a separate call to read raw channel values
became redundant.

Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/inkern.c