From: Cédric Le Goater Date: Wed, 8 Apr 2015 17:19:49 +0000 (+0200) Subject: hwmon: (ibmpowernv) add a label attribute X-Git-Tag: omap-for-v4.2/o2_dc~170^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bcd3787b946b725a37763c0877da0996f5ec064;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed