From: Jean Delvare Date: Tue, 15 Aug 2006 16:26:30 +0000 (+0200) Subject: i2c: __must_check fixes (core drivers) X-Git-Tag: v2.6.19-rc1~1003^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b119c6c952a086f74202ccda4b7ed72161bb6522;p=pandora-kernel.git i2c: __must_check fixes (core drivers) i2c: __must_check fixes (core drivers) Check for error on sysfs file creation. Check for error on device registration. Check for error on class device registration. Greg, I am not familiar with completion, can you please tell me if I need to take care of it in the error paths (as I did in this patch, see /* Needed? */ comments), or if it isn't needed? These patches were tested, including forced errors, so they should work fine. But of course more testing can't hurt. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed