diff options
author | 2021-06-17 13:53:23 +0200 | |
---|---|---|
committer | 2021-07-08 14:15:01 -0500 | |
commit | 4e7019bd483d1bcd480538138798740e851588b1 (patch) | |
tree | da04ef50bb8419480c61f344ebb1cbef7f55c10b /module-common.c | |
parent | hw/display/sm501: Simplify sm501_i2c_write() logic (diff) | |
download | qemu-4e7019bd483d1bcd480538138798740e851588b1.tar.xz qemu-4e7019bd483d1bcd480538138798740e851588b1.zip |
hw/display/sm501: 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 'module-common.c')
0 files changed, 0 insertions, 0 deletions