Skip to content

Commit

Permalink
w83781d: Fix unchecked return status
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jim Cromie authored and Greg Kroah-Hartman committed Sep 28, 2006
1 parent cbeeb5b commit 311ce2e
Showing 1 changed file with 143 additions and 134 deletions.
Loading

0 comments on commit 311ce2e

Please sign in to comment.