diff options
| author | Jonathan Cameron <[email protected]> | 2022-08-21 17:09:14 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-08-22 14:07:22 +0100 |
| commit | 94f072748337424c9cf92cd018532a34db3a5516 (patch) | |
| tree | 90677a3c6234945d621cfa7a1d720e3cd3a2f334 /tools/perf/scripts/python | |
| 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 <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Sylwester Nawrocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions