hwmon: (ibmpowernv) add a convert_opal_attr_name() routine
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 19 Mar 2015 17:44:43 +0000 (18:44 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 20 Mar 2015 15:25:11 +0000 (08:25 -0700)
It simplifies the create_hwmon_attr_name() routine and it clearly isolates
the conversion done between the OPAL node names and hwmon attributes names.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ibmpowernv.c

Simple merge