diff options
Diffstat (limited to 'common/ratp/i2c.c')
-rw-r--r-- | common/ratp/i2c.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/ratp/i2c.c b/common/ratp/i2c.c index 07097c7f4b..404ddd2ece 100644 --- a/common/ratp/i2c.c +++ b/common/ratp/i2c.c @@ -2,9 +2,6 @@ * Copyright (c) 2018 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * Copyright (c) 2018 Zodiac Inflight Innovations * - * See file CREDITS for list of people who contributed to this - * project. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. @@ -165,7 +162,7 @@ out: *rsp = (struct ratp_bb *)i2c_read_rsp; *rsp_len = i2c_read_rsp_len; - return ret; + return 0; } BAREBOX_RATP_CMD_START(I2C_READ) @@ -274,7 +271,7 @@ out: *rsp = (struct ratp_bb *)i2c_write_rsp; *rsp_len = sizeof(*i2c_write_rsp); - return ret; + return 0; } BAREBOX_RATP_CMD_START(I2C_WRITE) |