[next,V3] i2c: xiic: fix indentation issue
diff mbox series

Message ID 20200127111336.114501-1-colin.king@canonical.com
State Mainlined
Commit 878508aed4776a5b08dcc000d33a01a42e3fd07d
Headers show
Series
  • [next,V3] i2c: xiic: fix indentation issue
Related show

Commit Message

Colin King Jan. 27, 2020, 11:13 a.m. UTC
From: Colin Ian King <colin.king@canonical.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@canonical.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(-)

Comments

Wolfram Sang Jan. 29, 2020, 8:54 p.m. UTC | #1
On Mon, Jan 27, 2020 at 11:13:36AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.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@canonical.com>

Applied to for-next, thanks!

Patch
diff mbox series

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;
 		}
 	}