From: Jean Delvare Date: Sun, 24 Sep 2006 19:16:40 +0000 (+0200) Subject: hwmon: Fix unchecked return status, batch 4 X-Git-Tag: v2.6.19-rc1~860^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e39e01c908fdc498fff0d788fd7b955ab75ebb6;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed