]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (ads7871) Add 'name' sysfs attribute
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Sep 2012 20:39:08 +0000 (13:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:19 +0000 (10:39 -0700)
commit3aa7516bf06846d00b0f93f10e466dcfc7d95cce
treefd076aeb868e6cf0e4b4f2736a6c473f2f0902f8
parentb0c2ca340080d3f918cc69c8cc7516ccd85f2799
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/ads7871.c