Commit 1dc8baa4 authored by Wolfram Sang's avatar Wolfram Sang Committed by Andi Shyti
Browse files

i2c: don't use ',' after delimiters



Delimiters are meant to be last, no need for a ',' there. Remove a
superfluous newline in the ali1535 driver while here.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: default avatarAndrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent 4fec76e0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -479,9 +479,8 @@ static struct i2c_adapter ali1535_adapter = {

static const struct pci_device_id ali1535_ids[] = {
	{ PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) },
	{ },
	{ }
};

MODULE_DEVICE_TABLE(pci, ali1535_ids);

static int ali1535_probe(struct pci_dev *dev, const struct pci_device_id *id)
+1 −1
Original line number Diff line number Diff line
@@ -340,7 +340,7 @@ static void i2c_amd_remove(struct platform_device *pdev)

static const struct acpi_device_id i2c_amd_acpi_match[] = {
	{ "AMDI0011" },
	{ },
	{ }
};
MODULE_DEVICE_TABLE(acpi, i2c_amd_acpi_match);

+1 −1
Original line number Diff line number Diff line
@@ -991,7 +991,7 @@ static const struct of_device_id aspeed_i2c_bus_of_table[] = {
		.compatible = "aspeed,ast2600-i2c-bus",
		.data = aspeed_i2c_25xx_get_clk_reg_val,
	},
	{ },
	{ }
};
MODULE_DEVICE_TABLE(of, aspeed_i2c_bus_of_table);

+1 −1
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ static void dc_i2c_remove(struct platform_device *pdev)

static const struct of_device_id dc_i2c_match[] = {
	{ .compatible = "cnxt,cx92755-i2c" },
	{ },
	{ }
};
MODULE_DEVICE_TABLE(of, dc_i2c_match);

+1 −1
Original line number Diff line number Diff line
@@ -559,7 +559,7 @@ static const struct i2c_algorithm lpi2c_imx_algo = {

static const struct of_device_id lpi2c_imx_of_match[] = {
	{ .compatible = "fsl,imx7ulp-lpi2c" },
	{ },
	{ }
};
MODULE_DEVICE_TABLE(of, lpi2c_imx_of_match);

Loading