diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2015-04-08 17:19:48 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-04-08 17:34:20 (GMT) |
commit | 14681637ab3013d3577cc59633159f425733532e (patch) | |
tree | 6d6fd26df55390d612c7a2697d31576b3c0811a2 /drivers/hwmon/sch5636.c | |
parent | 9e4f74b11925d033dcbe429f1fb6202cab03ad8f (diff) | |
download | linux-14681637ab3013d3577cc59633159f425733532e.tar.xz |
hwmon: (ibmpowernv) add support for the new device tree
The new OPAL device tree for sensors has a different layout and uses new
property names, for the type and for the handler used to capture the
sensor data.
This patch modifies the ibmpowernv driver to support such a tree in a
way preserving compatibility with older OPAL firmwares.
This is achieved by changing the error path of the routine parsing
an OPAL node name. The node is simply considered being from the new
device tree layout and fallback values are used.
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/sch5636.c')
0 files changed, 0 insertions, 0 deletions