w83792d: Fix unchecked return status
authorRudolf Marek <r.marek@assembler.cz>
Sun, 24 Sep 2006 19:24:12 +0000 (21:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:18 +0000 (15:31 -0700)
commitf52f79da2908796a0fa1e7bbbe0d5ff20183d75f
tree32de8a34992593136d42381d9503a9f4bc85506f
parentccc5c306957bb7fbaef61de249bac4b0f09f2336
w83792d: Fix unchecked return status

w83792d: Fix unchecked return status

Fix the w83792d driver. Add error checking to device_create_file
and also care to destroy the files upon exit.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/w83792d.c