Philippe Mathieu-Daudé
cbecd9f822
hw/misc/auxbus: Replace i2c_send_recv() by i2c_recv() & i2c_send()
...
Instead of using the confuse i2c_send_recv(), replace
i2c_send_recv(send = true) by i2c_send() and
i2c_send_recv(send = false) by i2c_recv().
During the replacement we also change a while() statement by for().
The resulting code is 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>
2021-07-08 14:15:01 -05:00
..
2021-06-02 06:51:09 +02:00
2021-06-15 10:55:03 -04:00
2021-06-17 07:10:32 -05:00
2021-06-02 06:51:09 +02:00
2021-07-08 14:15:01 -05:00
2021-06-02 06:51:09 +02:00
2021-05-13 19:11:42 +02:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-06-03 18:10:31 +10:00
2021-04-09 16:05:16 -04:00
2021-05-02 17:24:51 +02:00
2021-07-08 14:15:01 -05:00
2021-06-02 06:51:09 +02:00
2021-06-05 21:10:42 +02:00
2021-06-02 06:51:09 +02:00
2020-12-18 15:20:17 -05:00
2021-07-08 14:15:01 -05:00
2021-06-15 10:54:46 -04:00
2021-06-02 06:51:09 +02:00
2021-07-08 14:15:01 -05:00
2021-06-15 16:18:48 +01:00
2020-09-18 14:12:32 -04:00
2021-05-02 17:24:50 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:50 +02:00
2021-05-26 15:33:59 -07:00
2021-07-08 14:15:01 -05:00
2021-06-04 13:38:49 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:50 +02:00
2021-05-17 09:19:00 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-06-02 06:51:09 +02:00
2021-01-17 06:42:54 -05:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:50 +02:00
2021-06-03 18:10:31 +10:00
2021-06-02 06:51:09 +02:00
2021-05-21 15:43:57 +01:00
2021-06-08 09:59:42 +10:00
2021-06-02 06:51:09 +02:00
2021-05-03 10:07:41 +02:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-06-17 07:10:32 -05:00
2021-05-02 17:24:51 +02:00
2021-05-14 10:26:18 -04:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-05-05 13:52:00 +01:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-05-18 09:36:21 +01:00
2021-06-14 13:28:50 +01:00
2021-06-02 06:51:09 +02:00
2021-06-11 10:30:13 +08:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2020-08-21 06:30:33 -04:00
2021-05-02 17:24:51 +02:00
2021-06-17 07:10:32 -05:00
2021-06-17 07:10:32 -05:00