vt8231: Fix unchecked return status
authorRoger Lucas <roger@planbit.co.uk>
Sun, 24 Sep 2006 19:21:46 +0000 (21:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:18 +0000 (15:31 -0700)
commitcbeeb5b7c91b23967162185d7580048559db8d58
tree49f924307d9786dc7da738fa5cc76757addfc86a
parent87808be4f97674e6a2982fa835080cc0320dcbdc
vt8231: Fix unchecked return status

vt8231: Fix unchecked return status

Check the return status from device_create_file() and also use
the newer and cleaner sysfs creation functions.

Signed-off-by: Roger Lucas <roger@planbit.co.uk>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/vt8231.c