diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-08-21 17:09:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-22 14:07:22 +0100 |
commit | 94f072748337424c9cf92cd018532a34db3a5516 (patch) | |
tree | 90677a3c6234945d621cfa7a1d720e3cd3a2f334 /include/video/sisfb.h | |
parent | 4d45d944e885e1bf4341a8cbb9b69584477880e3 (diff) |
ASoC: samsung: Use iio_get_channel_type() accessor.
struct iio_chan_spec is meant to be opaque to IIO consumer drivers
which should only use the interfaces in linux/iio/consumer.h.
Use the provided accessor function to find get the type of the
channel instead of directly reading it form the structure.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Link: https://lore.kernel.org/r/20220821160914.2207116-1-jic23@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/video/sisfb.h')
0 files changed, 0 insertions, 0 deletions