Skip to contentSkip to conversation

i2c: i2c-core-smbus: fixed a whitespace style issue

PATCH In review Liam Zuiderhoek 2 participants 2 messages Oct 29, 2024 – Nov 14, 2024

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

PATCH 1/1 i2c: i2c-core-smbus: fixed a whitespace style issue

From 214adebf7cf37be941f208124fac9ea6bec0f1d2 Mon Sep 17 00:00:00 2001
From: Liam Zuiderhoek <[email protected]>
Date: Tue, 22 Oct 2024 20:46:59 +0200
Subject: [PATCH] i2c: i2c-core-smbus: fixed a whitespace style issue

Fixing a coding style issue.

---
 drivers/i2c/i2c-core-smbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/i2c-core- renamed from drivers/i2c/i2c-core-smbus.c +0 -0

smbus.c
index e3b96fc53b5c..6829def15933 100644

drivers/i2c/i2c-core-smbus.c +0 -0
@@ -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-
Quoted 1 line

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
Quoted 26 lines · Liam Zuiderhoek

From 214adebf7cf37be941f208124fac9ea6bec0f1d2 Mon Sep 17 00:00:00 2001
From: Liam Zuiderhoek <[email protected]>
Date: Tue, 22 Oct 2024 20:46:59 +0200
Subject: [PATCH] i2c: i2c-core-smbus: fixed a whitespace style issue

Fixing a coding style issue.

---
 drivers/i2c/i2c-core-smbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/i2c-core- renamed from drivers/i2c/i2c-core-smbus.c +0 -0

smbus.c
index e3b96fc53b5c..6829def15933 100644

drivers/i2c/i2c-core-smbus.c +1 -1
@@ -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);
Quoted 2 lines

}
EXPORT_SYMBOL(i2c_smbus_write_byte);

The patch got broken while sending. I assume you sent it via gmail webmail? Please read Documentation/process/email-clients.rst to make sure it arrives correctly.