commit | 6e39b145cef7577cd6b550e633155e5fc1e5838e | [log] [tgz] |
---|---|---|
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | Fri Dec 04 05:55:01 2020 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Jan 16 18:27:51 2021 +0000 |
tree | 58412ad783276b59d089687754dcecd627a6f3e9 | |
parent | 9695a2a52c8304902e1fc315990f3f7f89a28a39 [diff] |
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>