commit | 2c3d0c9ffd24d9b4c62c5dfb2104695a614be28c | [log] [tgz] |
---|---|---|
author | Phil Reid <preid@electromag.com.au> | Thu Sep 19 22:36:08 2019 +0800 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Mon Oct 07 21:31:18 2019 +0100 |
tree | b42d3f86f7b5f1f197dfe55c274e37b7377130d5 | |
parent | dc7fe512d9667bce878797cd2fd39acec08232bb [diff] |
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: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>