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

Commit b69e4d5f authored by Leonard Pollak's avatar Leonard Pollak Committed by Greg Kroah-Hartman
Browse files

Staging: iio: meter: fixed typo



commit 0a8a29be499cbb67df79370aaf5109085509feb8 upstream.

This patch fixes an obvious typo, which will cause erroneously returning the Peak
Voltage instead of the Peak Current.

Signed-off-by: default avatarLeonard Pollak <leonardp@tr-host.de>
Cc: <Stable@vger.kernel.org>
Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8091c2ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ static IIO_DEV_ATTR_VPEAK(0644,
static IIO_DEV_ATTR_IPEAK(0644,
		ade7854_read_32bit,
		ade7854_write_32bit,
		ADE7854_VPEAK);
		ADE7854_IPEAK);
static IIO_DEV_ATTR_APHCAL(0644,
		ade7854_read_16bit,
		ade7854_write_16bit,