diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-09-24 15:16:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-28 18:31:18 -0400 |
commit | 0e39e01c908fdc498fff0d788fd7b955ab75ebb6 (patch) | |
tree | 2e117466ec9a60f3dac6d678e95af97454aa6c8c /drivers/hwmon/gl520sm.c | |
parent | 681c6f7a6702f208d48b501c8829dbc03a2ca238 (diff) |
hwmon: Fix unchecked return status, batch 4
hwmon: Fix unchecked return status, batch 4
Fix up some hwmon drivers so that they no longer ignore return status
from device_create_file().
Note: f71805f actually checked the status from device_create_file
already. However it did not remove the files on device destruction.
It was also an opportunity to use sysfs_create/remove_group instead
of hand-made loops. This makes the changes much more important but
I think the result is worth it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
0 files changed, 0 insertions, 0 deletions