mbox series

[0/2] hwmon: iio: Add labels

Message ID 20240620211310.820579-1-sean.anderson@linux.dev (mailing list archive)
Headers show
Series hwmon: iio: Add labels | expand

Message

Sean Anderson June 20, 2024, 9:13 p.m. UTC
Add support for using IIO channel labels for HWMON labels.


Sean Anderson (2):
  iio: Add iio_read_channel_label to inkern API
  hwmon: iio: Add labels from IIO channels

 drivers/hwmon/iio_hwmon.c       | 33 ++++++++++++++++++++++++++++++---
 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, 64 insertions(+), 12 deletions(-)