[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200127111336.114501-1-colin.king@canonical.com>
Date: Mon, 27 Jan 2020 11:13:36 +0000
From: Colin King <colin.king@...onical.com>
To: Michal Simek <michal.simek@...inx.com>,
Wolfram Sang <wsa@...-dreams.de>,
Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH][next][V3] i2c: xiic: fix indentation issue
From: Colin Ian King <colin.king@...onical.com>
There is a statement that is indented one level too deeply, remove
the extraneous tab.
Fixes: b4c119dbc300 ("i2c: xiic: Add timeout to the rx fifo wait loop")
Signed-off-by: Colin Ian King <colin.king@...onical.com>
---
V2: fix type in commit message
V3: add fixes tag
---
drivers/i2c/busses/i2c-xiic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index b17d30c9ab40..90c1c362394d 100644
--- a/drivers/i2c/busses/i2c-xiic.c
+++ b/drivers/i2c/busses/i2c-xiic.c
@@ -261,7 +261,7 @@ static int xiic_clear_rx_fifo(struct xiic_i2c *i2c)
xiic_getreg8(i2c, XIIC_DRR_REG_OFFSET);
if (time_after(jiffies, timeout)) {
dev_err(i2c->dev, "Failed to clear rx fifo\n");
- return -ETIMEDOUT;
+ return -ETIMEDOUT;
}
}
--
2.24.0
Powered by blists - more mailing lists