commit | 7d9db67febf67dd76329a9dd8f97cf4611a8ac2e | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sun Sep 03 22:20:24 2006 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Sep 26 15:38:51 2006 -0700 |
tree | 6354fa99b17f89c8f26ccf7c440d0d29096f2dc2 | |
parent | b32d20dc8b187e03605f091dbde9a78676a2a642 [diff] |
i2c: __must_check fixes (chip drivers) i2c: __must_check fixes (chip drivers) Check for error on sysfs file creation. Delete sysfs files on device removal. The approach taken for the most complex case (pcf8591) is similar to what Mark M. Hoffman proposed for hardware monitoring chip drivers. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Ben Gardner <bgardner@wabtec.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>