[PATCH v2 0/2] hwmon: iio: Add labels

From: Sean Anderson
Date: Mon Jun 24 2024 - 13:46:32 EST


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