Skip to content
Commit 2c3d0c9f authored by Phil Reid's avatar Phil Reid Committed by Jonathan Cameron
Browse files

iio: core: Add optional symbolic label to device attributes



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.

Tested-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarPhil Reid <preid@electromag.com.au>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent dc7fe512
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment