hwmon: (ibmpowernv) add a helper routine create_hwmon_attr
authorCédric Le Goater <clg@fr.ibm.com>
Wed, 8 Apr 2015 17:19:47 +0000 (19:19 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 8 Apr 2015 17:34:19 +0000 (10:34 -0700)
commit9e4f74b11925d033dcbe429f1fb6202cab03ad8f
treeb75229d60f4bc2cc7402b93df84b67124afdaaec
parentfa3f70d62844bd91880ea634c06b46585fefd74b
hwmon: (ibmpowernv) add a helper routine create_hwmon_attr

This should shorten a bit the code necessary to create a hmwon attribute.

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