w83l785ts: Fix unchecked return status
authorRudolf Marek <r.marek@assembler.cz>
Sun, 24 Sep 2006 19:23:26 +0000 (21:23 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:18 +0000 (15:31 -0700)
commitccc5c306957bb7fbaef61de249bac4b0f09f2336
tree484101b931764f176ce027566b35cb7a93a6749b
parent311ce2efb1b640584676fc1b0b7f16c5baf85eb8
w83l785ts: Fix unchecked return status

w83l785ts: Fix unchecked return status

Fix the w83l785ts 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/w83l785ts.c