hwmon: Fix unchecked return status, batch 4
authorJean Delvare <khali@linux-fr.org>
Sun, 24 Sep 2006 19:16:40 +0000 (21:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:18 +0000 (15:31 -0700)
commit0e39e01c908fdc498fff0d788fd7b955ab75ebb6
tree2e117466ec9a60f3dac6d678e95af97454aa6c8c
parent681c6f7a6702f208d48b501c8829dbc03a2ca238
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>
drivers/hwmon/f71805f.c
drivers/hwmon/lm63.c
drivers/hwmon/lm83.c
drivers/hwmon/lm90.c