mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
815f55f280
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> |
||
---|---|---|
.. | ||
algos | ||
busses | ||
chips | ||
i2c-core.c | ||
i2c-dev.c | ||
i2c-sensor-detect.c | ||
i2c-sensor-vid.c | ||
Kconfig | ||
Makefile |