Skip to contentSkip to conversation

i2x: Fix whitespace style issue

PATCH In review Liam Zuiderhoek 2 participants 2 messages Nov 19, 2024 – Nov 27, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2x: Fix whitespace style issue

From 0107b1649e3f74f1cd4e0695968edb4d81028f91 Mon Sep 17 00:00:00 2001
From: Liam Zuiderhoek <[email protected]>
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.

---
 drivers/i2c/i2c-core-smbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/i2c-core-smbus.c +1 -1
index e3b96fc53b5c..473f8ec7fedf 100644
@@ -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);
 
Signature · 1 line
2.43.0
#1 lore raw

$subject has "i2x" instead of "i2c"

Quoted 1 line · Liam Zuiderhoek

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.

Quoted 3 lines

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.