From: Jim Cromie Date: Sun, 8 Oct 2006 19:56:29 +0000 (+0200) Subject: w83791d: Fix unchecked return status X-Git-Tag: v2.6.19-rc3~123^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34fc921a253f3ddfc4ad9de1dbc88683f84fbaaa;p=pandora-kernel.git w83791d: Fix unchecked return status Replace all unchecked calls to device_create_file with a single group declaration, and one call to sysfs_create_group, and check that one return status. Also remove the files on device detach. Signed-off-by: Jim Cromie Signed-off by: Charles Spirakis Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed