Skip to content

Commit 525defd

Browse files
Chen NiAndi Shyti
authored andcommitted
i2c: isch: Convert comma to semicolon
Replace comma between expressions with semicolons. Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it is seems best to use ';' unless ',' is intended. Found by inspection. No functional change intended. Compile tested only. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Link: https://lore.kernel.org/r/20241126023839.251922-1-nichen@iscas.ac.cn Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent e22daca commit 525defd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/i2c/busses/i2c-isch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ static int smbus_sch_probe(struct platform_device *pdev)
291291

292292
/* Set up the sysfs linkage to our parent device */
293293
priv->adapter.dev.parent = dev;
294-
priv->adapter.owner = THIS_MODULE,
295-
priv->adapter.class = I2C_CLASS_HWMON,
296-
priv->adapter.algo = &smbus_algorithm,
294+
priv->adapter.owner = THIS_MODULE;
295+
priv->adapter.class = I2C_CLASS_HWMON;
296+
priv->adapter.algo = &smbus_algorithm;
297297

298298
snprintf(priv->adapter.name, sizeof(priv->adapter.name),
299299
"SMBus SCH adapter at %04x", (unsigned short)res->start);

0 commit comments

Comments
 (0)