]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e9f2de72d48ddf6896b72469546b3da7d0b64ce
tree2e117466ec9a60f3dac6d678e95af97454aa6c8c
parentb1859e86df5d154df8641b12c837dc07a8776544
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