OSDN Git Service

i2c: xiic: fix indentation issue
authorColin Ian King <colin.king@canonical.com>
Mon, 27 Jan 2020 11:13:36 +0000 (11:13 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 29 Jan 2020 20:53:51 +0000 (21:53 +0100)
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>
Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xiic.c

index b17d30c..90c1c36 100644 (file)
@@ -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;
                }
        }