* [PATCH] i2x: Fix whitespace style issue
@ 2024-11-19 20:25 Liam Zuiderhoek
2024-11-27 11:25 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Liam Zuiderhoek @ 2024-11-19 20:25 UTC (permalink / raw)
To: wsa+renesas; +Cc: linux-i2c, linux-kernel
From 0107b1649e3f74f1cd4e0695968edb4d81028f91 Mon Sep 17 00:00:00 2001
From: Liam Zuiderhoek <zuiderhoekl@gmail.com>
Date: Tue, 22 Oct 2024 20:46:59 +0200
Subject: [PATCH] i2c: Fix whitespace style issue
This patch fixes a coding style issue in the alignment of parameters
in the function i2c_smbus_write_bytes(). It replaces spaces with tabs for
alignment, as per the coding style guidelines.
Signed-off-by: Liam Zuiderhoek <zuiderhoekl@gmail.com>
---
drivers/i2c/i2c-core-smbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/i2c-core-smbus.c b/drivers/i2c/i2c-core-smbus.c
index e3b96fc53b5c..473f8ec7fedf 100644
--- a/drivers/i2c/i2c-core-smbus.c
+++ b/drivers/i2c/i2c-core-smbus.c
@@ -122,7 +122,7 @@ EXPORT_SYMBOL(i2c_smbus_read_byte);
s32 i2c_smbus_write_byte(const struct i2c_client *client, u8 value)
{
return i2c_smbus_xfer(client->adapter, client->addr, client->flags,
- I2C_SMBUS_WRITE, value, I2C_SMBUS_BYTE, NULL);
+ I2C_SMBUS_WRITE, value, I2C_SMBUS_BYTE, NULL);
}
EXPORT_SYMBOL(i2c_smbus_write_byte);
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2x: Fix whitespace style issue
2024-11-19 20:25 [PATCH] i2x: Fix whitespace style issue Liam Zuiderhoek
@ 2024-11-27 11:25 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2024-11-27 11:25 UTC (permalink / raw)
To: Liam Zuiderhoek; +Cc: linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
$subject has "i2x" instead of "i2c"
On Tue, Nov 19, 2024 at 09:25:21PM +0100, Liam Zuiderhoek wrote:
> From 0107b1649e3f74f1cd4e0695968edb4d81028f91 Mon Sep 17 00:00:00 2001
This line made it impossible for my tools to apply your patch. I fixed
it manually.
> This patch fixes a coding style issue in the alignment of parameters
> in the function i2c_smbus_write_bytes(). It replaces spaces with tabs for
> alignment, as per the coding style guidelines.
Two spaces after ','. I fixed it.
That all being said: Applied to for-mergewindow, thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-27 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 20:25 [PATCH] i2x: Fix whitespace style issue Liam Zuiderhoek
2024-11-27 11:25 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox