From: Jean Delvare Date: Sat, 7 May 2005 20:58:46 +0000 (+0200) Subject: [PATCH] I2C: Remove redundancy from i2c-core.c X-Git-Tag: v2.6.13-rc1~68^2~540^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=815f55f280fb2781ba1c2a350516b73e55119c60;p=pandora-kernel.git [PATCH] I2C: Remove redundancy from i2c-core.c Call i2c_transfer() from i2c_master_send() and i2c_master_recv() to avoid the redundant code that was in all three functions. It also removes unnecessary debug statements as suggested by Jean Delvare. This is important for the non-blocking interfaces because they will have to handle a non-blocking interface in this area. Having it in one place greatly simplifies the changes. Signed-off-by: Corey Minyard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed