linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next][V3] i2c: xiic: fix indentation issue
@ 2020-01-27 11:13 Colin King
  2020-01-29 20:54 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2020-01-27 11:13 UTC (permalink / raw)
  To: Michal Simek, Wolfram Sang, Shubhrajyoti Datta, linux-arm-kernel,
	linux-i2c
  Cc: kernel-janitors, linux-kernel

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(-)

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][next][V3] i2c: xiic: fix indentation issue
  2020-01-27 11:13 [PATCH][next][V3] i2c: xiic: fix indentation issue Colin King
@ 2020-01-29 20:54 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2020-01-29 20:54 UTC (permalink / raw)
  To: Colin King
  Cc: Shubhrajyoti Datta, kernel-janitors, linux-kernel, Michal Simek,
	linux-i2c, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 382 bytes --]

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!


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-29 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27 11:13 [PATCH][next][V3] i2c: xiic: fix indentation issue Colin King
2020-01-29 20:54 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).