]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (smsc47m1) restore missing name attribute
authorJean Delvare <khali@linux-fr.org>
Mon, 20 Aug 2007 10:30:38 +0000 (12:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 23:23:24 +0000 (16:23 -0700)
commit5115cc9afa49ebfe5dbcdd15c8ee2d73eb54602c
tree927b8392ba1bf0f588213c0f9a27dd2485784d0e
parentb49c03778264c743e184e5aed1933c2c4b9e55f3
hwmon: (smsc47m1) restore missing name attribute

The smsc47m1 driver no longer creates the name attribute used by
libsensors to identify chip types. It was lost during the conversion
to a platform driver. I was fooled by the fact that we do have a
group with all attributes, but only to delete them all at once. The
group is not used to create the attributes, so we have to explicitly
create the name attribute.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/smsc47m1.c