Commit 525defdb authored by Chen Ni's avatar Chen Ni Committed by Andi Shyti
Browse files

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: default avatarChen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20241126023839.251922-1-nichen@iscas.ac.cn


Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent e22daca4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -291,9 +291,9 @@ static int smbus_sch_probe(struct platform_device *pdev)

	/* Set up the sysfs linkage to our parent device */
	priv->adapter.dev.parent = dev;
	priv->adapter.owner = THIS_MODULE,
	priv->adapter.class = I2C_CLASS_HWMON,
	priv->adapter.algo = &smbus_algorithm,
	priv->adapter.owner = THIS_MODULE;
	priv->adapter.class = I2C_CLASS_HWMON;
	priv->adapter.algo = &smbus_algorithm;

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