[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240624174601.1527244-1-sean.anderson@linux.dev>
Date: Mon, 24 Jun 2024 13:45:59 -0400
From: Sean Anderson <sean.anderson@...ux.dev>
To: Jonathan Cameron <jic23@...nel.org>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
linux-iio@...r.kernel.org,
linux-hwmon@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Lars-Peter Clausen <lars@...afoo.de>,
Sean Anderson <sean.anderson@...ux.dev>
Subject: [PATCH v2 0/2] hwmon: iio: Add labels
Add support for using IIO channel labels for HWMON labels.
Changes in v2:
- Check if the label exists before creating the attribute
Sean Anderson (2):
iio: Add iio_read_channel_label to inkern API
hwmon: iio: Add labels from IIO channels
drivers/hwmon/iio_hwmon.c | 45 +++++++++++++++++++++++++++++----
drivers/iio/iio_core.h | 4 +++
drivers/iio/industrialio-core.c | 23 ++++++++++-------
drivers/iio/inkern.c | 6 +++++
include/linux/iio/consumer.h | 10 ++++++++
5 files changed, 74 insertions(+), 14 deletions(-)
--
2.35.1.1320.gc452695387.dirty
Powered by blists - more mailing lists