hwmon/abituguru: Fix unchecked return status
authorHans de Goede <j.w.r.degoede@hhs.nl>
Wed, 14 Feb 2007 20:15:05 +0000 (21:15 +0100)
committerJean Delvare <khali@arrakis.delvare>
Wed, 14 Feb 2007 20:15:05 +0000 (21:15 +0100)
commitbc8f0a26855d8fac68040d462ec3cc13884e98e5
treeb7590e94554022292c32931f68a583ddae525cc6
parentcae2caae78258d623c7b687029a19fa6b33c76f4
hwmon/abituguru: Fix unchecked return status

Fix an unused return value warning for the abituguru driver.
Also make sure the sysfs files are created before we register with
the hwmon class, and delete the sysfs files on driver removal.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/abituguru.c