[PATCH v2 0/2] Add "extended_name" to label

From: Paul Cercueil
Date: Wed Jun 16 2021 - 11:58:01 EST


Hi Jonathan,

Here's the v2 of my previous patchset which added an "extended_name"
attribute.

Following the discussion on the v1, here's a set of two patches that
1. make sure we will never have channels with both labels and extended
names,
2. make the extended name available to userspace as the channel's label.

Cheers,
-Paul

Paul Cercueil (2):
iio: core: Forbid use of both labels and extended names
iio: core: Support reading extended name as label

drivers/iio/industrialio-core.c | 32 +++++++++++++++++++++++++++++---
1 file changed, 29 insertions(+), 3 deletions(-)

--
2.30.2