commit | 2bcd3787b946b725a37763c0877da0996f5ec064 | [log] [tgz] |
---|---|---|
author | Cédric Le Goater <clg@fr.ibm.com> | Wed Apr 08 19:19:49 2015 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Apr 08 10:34:20 2015 -0700 |
tree | ec81d8281653d5e7822644a887f7de3452aed237 | |
parent | 14681637ab3013d3577cc59633159f425733532e [diff] |
hwmon: (ibmpowernv) add a label attribute Currently, sensors are only identified by their type and index. The new OPAL device tree can expose extra properties to identify some sensors by their name or location. This patch adds the creation of a new hwmon *_label attribute when such properties are detected. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>