Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd702699 authored by Nikita Yushchenko's avatar Nikita Yushchenko Committed by Jonathan Cameron
Browse files

iio: hi8435: make in_voltage_sensing_mode_available visible



Possible values of sensing_mode are encoded with strings and actual
strings used are not obvious.

Provide a hint by enabling in_voltage_sensing_mode_available attribute.

Signed-off-by: default avatarNikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent ee19ac34
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -356,6 +356,7 @@ static const struct iio_enum hi8435_sensing_mode = {

static const struct iio_chan_spec_ext_info hi8435_ext_info[] = {
	IIO_ENUM("sensing_mode", IIO_SEPARATE, &hi8435_sensing_mode),
	IIO_ENUM_AVAILABLE("sensing_mode", &hi8435_sensing_mode),
	{},
};