diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2006-09-24 21:03:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-29 00:31:17 +0200 |
commit | f3722d5b6a474e31237d23980e9bd38facfda6f4 (patch) | |
tree | 68cf55a62cad0e4ea98e861e13c1fa184333c24c /drivers/hwmon/w83627ehf.c | |
parent | pc87360: Delete sysfs files on device deletion (diff) | |
download | linux-f3722d5b6a474e31237d23980e9bd38facfda6f4.tar.xz linux-f3722d5b6a474e31237d23980e9bd38facfda6f4.zip |
pc87360: Check for error on sysfs files creation
pc87360: Check for error on sysfs files creation
Use sysfs_create_group() for 2 sensor-types which are chip-model
invariant, i.e. all-or-nothing attribute groups.
Other 2 groups vary too much due to configuration, etc, so we keep the
loops of device_create_file(), but now check their returns.
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>
Diffstat (limited to 'drivers/hwmon/w83627ehf.c')
0 files changed, 0 insertions, 0 deletions