iio: adc: rn5t618: Add iio map
authorAndreas Kemnade <andreas@kemnade.info>
Mon, 12 Jul 2021 21:21:10 +0000 (23:21 +0200)
committerSebastian Reichel <sre@kernel.org>
Fri, 13 Aug 2021 16:38:17 +0000 (18:38 +0200)
commit1a844ddf06b0a6f39c9d8974dfecfda347e87cb6
treeb9dff3139e6bba6699788fe1675708a07796f3f1
parent38334231965e9a75558e413d1f5a23357994f065
iio: adc: rn5t618: Add iio map

Add iio map to allow power driver to read out values as a consumer.
This approach does not block later addition of devicetree support
which would be helpful if there is an in-kernel consumer for AIN0/1.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/iio/adc/rn5t618-adc.c