From: Lukasz Majewski Date: Wed, 21 Nov 2018 23:43:51 +0100 Subject: [U-Boot] [PATCH v1 2/3] rtc: m41t62: Break i2c_write() arguments to fix checkpatch warning In-Reply-To: <20181121224352.24065-1-lukma@denx.de> References: <20181121224352.24065-1-lukma@denx.de> Message-ID: <20181121224352.24065-3-lukma@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de No functional change for this commit. Signed-off-by: Lukasz Majewski --- Changes in v1: None drivers/rtc/m41t62.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/m41t62.c b/drivers/rtc/m41t62.c index 137438389d..cc230e2b78 100644 --- a/drivers/rtc/m41t62.c +++ b/drivers/rtc/m41t62.c @@ -108,7 +108,8 @@ int rtc_set(struct rtc_time *tm) /* assume 20YY not 19YY */ buf[M41T62_REG_YEAR] = bin2bcd(tm->tm_year % 100); - if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE)) { + if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, + M41T62_DATETIME_REG_SIZE)) { printf("I2C write failed in %s()\n", __func__); return -1; } -- 2.11.0