diff options
author | Paul Cercueil <paul@crapouillou.net> | 2022-01-10 21:22:56 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-02-28 04:03:16 +0300 |
commit | e1c9d6d61ddf3f34f14d3de51d6eea68683b5841 (patch) | |
tree | 5d12d0a69213b3afc470c76967b5d29e869874c2 /drivers/hwmon/nct6775.c | |
parent | 32b9a19a1966fb3124d7ddd60ebd08688be2f3fa (diff) | |
download | linux-e1c9d6d61ddf3f34f14d3de51d6eea68683b5841.tar.xz |
hwmon: Add "label" attribute
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.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
Link: https://lore.kernel.org/r/20220110182256.30763-3-paul@crapouillou.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nct6775.c')
0 files changed, 0 insertions, 0 deletions