Corey Minyard bc15cde0c4 i2c: Don't check return value from i2c_recv()
i2c_recv() cannot fail, so there is no need to check the return
value.  It also returns unt8_t, so comparing with < 0 is not
meaningful.

Fix up various I2C controllers to remove the unneeded code.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
2019-02-27 21:06:08 -06:00
..
2019-02-27 21:06:08 -06:00
2019-02-27 21:06:08 -06:00
2019-02-27 21:06:08 -06:00
2019-02-27 21:06:08 -06:00
2019-02-27 21:06:08 -06:00
2018-06-08 13:15:33 +01:00