diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-05-07 22:58:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 21:51:55 -0700 |
commit | 815f55f280fb2781ba1c2a350516b73e55119c60 (patch) | |
tree | 48c06bd1650d44aa274989ce2696eb5091d3805c /drivers/video | |
parent | 30aedcb33970367e50b5edf373e9cd1a5cebcbe1 (diff) |
[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 <minyard@acm.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions