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

Commit faf290e8 authored by Michael Hennerich's avatar Michael Hennerich Committed by Greg Kroah-Hartman
Browse files

staging:iio: Add channel types IIO_CURRENT and IIO_POWER.



This is required for the ADE7758 driver cleanup.

Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e61181d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@ enum iio_chan_type {

	/* real channel types */
	IIO_IN,
	IIO_CURRENT,
	IIO_POWER,
	IIO_ACCEL,
	IIO_IN_DIFF,
	IIO_GYRO,
+2 −0
Original line number Diff line number Diff line
@@ -48,6 +48,8 @@ static const char * const iio_chan_type_name_spec_shared[] = {
	[IIO_TIMESTAMP] = "timestamp",
	[IIO_ACCEL] = "accel",
	[IIO_IN] = "in",
	[IIO_CURRENT] = "current",
	[IIO_POWER] = "power",
	[IIO_IN_DIFF] = "in-in",
	[IIO_GYRO] = "gyro",
	[IIO_TEMP] = "temp",