]> err.no Git - linux-2.6/commit
w83627ehf: Fix unchecked return status
authorDavid Hubbard <david.c.hubbard@gmail.com>
Sun, 24 Sep 2006 19:04:38 +0000 (21:04 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:17 +0000 (15:31 -0700)
commitc18beb5b92b090cb424718a4f1771b1a9fad56de
tree7fd1a129f13710d9273a71cf4d514199abd97944
parentf3722d5b6a474e31237d23980e9bd38facfda6f4
w83627ehf: Fix unchecked return status

w83627ehf: Fix unchecked return status

Fix: check return value from device_create_file()
Fix: call device_remove_file() on error and module unload
Fix: call hwmon_device_register() after device_create_file() to eliminate race

Signed-off-by: David Hubbard <david.c.hubbard@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/w83627ehf.c