diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2020-12-04 03:55:01 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-16 19:27:51 +0100 |
commit | 6e39b145cef7577cd6b550e633155e5fc1e5838e (patch) | |
tree | 58412ad783276b59d089687754dcecd627a6f3e9 /tools | |
parent | iio: adc: qcom-spmi-adc5: use of_device_get_match_data (diff) | |
download | linux-6e39b145cef7577cd6b550e633155e5fc1e5838e.tar.xz linux-6e39b145cef7577cd6b550e633155e5fc1e5838e.zip |
iio: provide of_iio_channel_get_by_name() and devm_ version it
There might be cases when the IIO channel is attached to the device
subnode instead of being attached to the main device node. Allow drivers
to query IIO channels by using device tree nodes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20201204025509.1075506-8-dmitry.baryshkov@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions