diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-06-17 13:53:25 +0200 |
|---|---|---|
| committer | Corey Minyard <cminyard@mvista.com> | 2021-07-08 14:15:01 -0500 |
| commit | f8ffea755c3377b2c4b1800c1709ddd98b19882c (patch) | |
| tree | 8992e04b2eaf81e77e15802624858350ae367801 /hw/misc/pc-testdev.c | |
| parent | c699bf610bf814de478e81e0f1f375b386170ff5 (diff) | |
| download | focaccia-qemu-f8ffea755c3377b2c4b1800c1709ddd98b19882c.tar.gz focaccia-qemu-f8ffea755c3377b2c4b1800c1709ddd98b19882c.zip | |
hw/i2c/ppc4xx_i2c: Replace i2c_send_recv() by i2c_recv() & i2c_send()
Instead of using the confuse i2c_send_recv(), rewrite to directly call i2c_recv() & i2c_send(), resulting in code easier to review. 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>
Diffstat (limited to 'hw/misc/pc-testdev.c')
0 files changed, 0 insertions, 0 deletions