]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm70) Add a name attribute
authorJean Delvare <khali@linux-fr.org>
Fri, 17 Aug 2007 15:31:35 +0000 (17:31 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Wed, 10 Oct 2007 02:56:29 +0000 (22:56 -0400)
commit9b4619d5f156c05a6b92126a87b40d3748605e46
tree930ac484e2da2585f5a925a30103cd708f004196
parent7e1395cfaa97e22a68fc70138cb6ce746d826acc
hwmon: (lm70) Add a name attribute

Add a name attribute to the lm70 devices. This is required for
libsensors to recognize them.

Also drop the "+" before the temperature value, even though it did
not cause problems to libsensors, other hardware monitoring drivers
don't print it, so it's more consistent that way.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Acked-by: Kaiwan <kaiwan@designergraphix.com>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/lm70.c