[PATCH] I2C: refactor message in i2c_detach_client
authorJean Delvare <khali@linux-fr.org>
Wed, 27 Jul 2005 20:14:49 +0000 (22:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:14:14 +0000 (09:14 -0700)
We could refactor the error message 34 different i2c drivers print if
i2c_detach_client() fails in this function itself. Saves quite a few
lines of code. Documentation is updated to reflect that change.

Note that this patch should be applied after Rudolf Marek's w83792d
patches.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found