summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-01-27 14:13:36 +0300
committerWolfram Sang <wsa@the-dreams.de>2020-01-29 23:53:51 +0300
commit878508aed4776a5b08dcc000d33a01a42e3fd07d (patch)
tree9e2932ffd592a4654d921ef18680e0dd1863ab8f /drivers/i2c
parenteca95cd5a36d1fb547e84b8fd86fa2b7ba7f4b91 (diff)
downloadlinux-878508aed4776a5b08dcc000d33a01a42e3fd07d.tar.xz
i2c: xiic: fix indentation issue
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-xiic.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}