]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5bb5bce0699430c742c44e5800b5a8fde53b2fa4
tree7fa8a32f47703532707a36b8dd0c0a31757f93cf
parentdc09debad2ab7d39e65b8e277c4e6268a81563ee
hwmon: (ibmpowernv) add a convert_opal_attr_name() routine

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