If a label is defined in the device tree for this device add that to the device specific attributes. This is useful for userspace to be able to identify an individual device when multiple identical chips are present in the system. Similar to leds, display labels etc. Phil Reid (2): dt-binding: iio: Add optional label property iio: core: Add optional symbolic label to device attributes Documentation/devicetree/bindings/iio/iio-bindings.txt | 5 +++++ drivers/iio/industrialio-core.c | 17 +++++++++++++++++ include/linux/iio/iio.h | 1 + 3 files changed, 23 insertions(+) -- 1.8.3.1