hwmon: (ads7871) Add 'name' sysfs attribute
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Sep 2012 20:39:08 +0000 (13:39 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 17 Sep 2012 21:29:20 +0000 (14:29 -0700)
commit4e21f4eaa49f78d3e977e316514c941053871c76
tree181afa93cd96ccc2e8f5846087f4fa9d678b8d3b
parent5698bd757d55b1bb87edd1a9744ab09c142abfc2
hwmon: (ads7871) Add 'name' sysfs attribute

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

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