hw/i2c: Remove confusing i2c_send_recv()
commit2038a2907ce69f8b59e65ed8b4ac6f5c4f823fec
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 17 Jun 2021 11:53:30 +0000 (17 13:53 +0200)
committerCorey Minyard <cminyard@mvista.com>
Thu, 8 Jul 2021 19:15:01 +0000 (8 14:15 -0500)
tree8aff0af0d44a37a0b7b79b043e0bd390805be310
parentcbecd9f8224827a34857a650ddd9ea1ea2b1163f
hw/i2c: Remove confusing i2c_send_recv()

We replaced all the i2c_send_recv() calls by the clearer i2c_recv()
and i2c_send(), so we can remove this confusing API.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
hw/i2c/core.c
include/hw/i2c/i2c.h