w83781d: Fix unchecked return status
authorJim Cromie <jim.cromie@gmail.com>
Sun, 24 Sep 2006 19:22:52 +0000 (21:22 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:18 +0000 (15:31 -0700)
commit311ce2efb1b640584676fc1b0b7f16c5baf85eb8
tree8f3cb7fdf3513a36390411d19610a00a7adbc0d8
parentcbeeb5b7c91b23967162185d7580048559db8d58
w83781d: Fix unchecked return status

w83781d: Fix unchecked return status

Add 2 attr-file groups (for base and model-specific attrs respectively),
create the base group with single call to sysfs_create_group,
check the return code on individual calls to device_create_file for each
of the model-specific attr-files.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/w83781d.c