hwmon: (ads7871) Add 'name' sysfs attribute
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Sep 2012 20:39:08 +0000 (13:39 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 10 Oct 2012 02:30:56 +0000 (03:30 +0100)
commitd912bb414b168204391f4a0fa8ae2e814c770fe8
tree3c99f7d1e32de7e3abe25278423185abd9377854
parent8756f652afeddf11a6a1c54a09c410b1fe688b3d
hwmon: (ads7871) Add 'name' sysfs attribute

commit 4e21f4eaa49f78d3e977e316514c941053871c76 upstream.

The 'name' sysfs attribute is mandatory for hwmon devices, but was missing
in this driver.

Cc: Paul Thomas <pthomas8589@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Paul Thomas <pthomas8589@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/hwmon/ads7871.c