]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commitccc9ac6cc9ff7c845daa930598e96be9bb978ade
tree7fa8a32f47703532707a36b8dd0c0a31757f93cf
parentc4ad47206425e8f38928413ab35f59bd294ddbc2
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