Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>

authored by

Wolfram Sang and committed by
Andi Shyti
1dc8baa4 4fec76e0

+14 -15
+1 -2
drivers/i2c/busses/i2c-ali1535.c
··· 479 479 480 480 static const struct pci_device_id ali1535_ids[] = { 481 481 { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, 482 - { }, 482 + { } 483 483 }; 484 - 485 484 MODULE_DEVICE_TABLE(pci, ali1535_ids); 486 485 487 486 static int ali1535_probe(struct pci_dev *dev, const struct pci_device_id *id)
+1 -1
drivers/i2c/busses/i2c-amd-mp2-plat.c
··· 340 340 341 341 static const struct acpi_device_id i2c_amd_acpi_match[] = { 342 342 { "AMDI0011" }, 343 - { }, 343 + { } 344 344 }; 345 345 MODULE_DEVICE_TABLE(acpi, i2c_amd_acpi_match); 346 346
+1 -1
drivers/i2c/busses/i2c-aspeed.c
··· 991 991 .compatible = "aspeed,ast2600-i2c-bus", 992 992 .data = aspeed_i2c_25xx_get_clk_reg_val, 993 993 }, 994 - { }, 994 + { } 995 995 }; 996 996 MODULE_DEVICE_TABLE(of, aspeed_i2c_bus_of_table); 997 997
+1 -1
drivers/i2c/busses/i2c-digicolor.c
··· 357 357 358 358 static const struct of_device_id dc_i2c_match[] = { 359 359 { .compatible = "cnxt,cx92755-i2c" }, 360 - { }, 360 + { } 361 361 }; 362 362 MODULE_DEVICE_TABLE(of, dc_i2c_match); 363 363
+1 -1
drivers/i2c/busses/i2c-imx-lpi2c.c
··· 559 559 560 560 static const struct of_device_id lpi2c_imx_of_match[] = { 561 561 { .compatible = "fsl,imx7ulp-lpi2c" }, 562 - { }, 562 + { } 563 563 }; 564 564 MODULE_DEVICE_TABLE(of, lpi2c_imx_of_match); 565 565
+1 -1
drivers/i2c/busses/i2c-omap.c
··· 1261 1261 .compatible = "ti,omap2420-i2c", 1262 1262 .data = &omap2420_pdata, 1263 1263 }, 1264 - { }, 1264 + { } 1265 1265 }; 1266 1266 MODULE_DEVICE_TABLE(of, omap_i2c_of_match); 1267 1267 #endif
+1 -1
drivers/i2c/busses/i2c-piix4.c
··· 146 146 .ident = "IBM", 147 147 .matches = { DMI_MATCH(DMI_SYS_VENDOR, "IBM"), }, 148 148 }, 149 - { }, 149 + { } 150 150 }; 151 151 152 152 /*
+1 -1
drivers/i2c/busses/i2c-pnx.c
··· 721 721 #ifdef CONFIG_OF 722 722 static const struct of_device_id i2c_pnx_of_match[] = { 723 723 { .compatible = "nxp,pnx-i2c" }, 724 - { }, 724 + { } 725 725 }; 726 726 MODULE_DEVICE_TABLE(of, i2c_pnx_of_match); 727 727 #endif
+1 -1
drivers/i2c/busses/i2c-pxa-pci.c
··· 135 135 136 136 static const struct pci_device_id ce4100_i2c_devices[] = { 137 137 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2e68)}, 138 - { }, 138 + { } 139 139 }; 140 140 141 141 static struct pci_driver ce4100_i2c_driver = {
+1 -1
drivers/i2c/busses/i2c-pxa.c
··· 218 218 { "ce4100-i2c", REGS_CE4100 }, 219 219 { "pxa910-i2c", REGS_PXA910 }, 220 220 { "armada-3700-i2c", REGS_A3700 }, 221 - { }, 221 + { } 222 222 }; 223 223 MODULE_DEVICE_TABLE(platform, i2c_pxa_id_table); 224 224
+1 -1
drivers/i2c/busses/i2c-qcom-geni.c
··· 721 721 static const struct acpi_device_id geni_i2c_acpi_match[] = { 722 722 { "QCOM0220"}, 723 723 { "QCOM0411" }, 724 - { }, 724 + { } 725 725 }; 726 726 MODULE_DEVICE_TABLE(acpi, geni_i2c_acpi_match); 727 727 #endif
+1 -1
drivers/i2c/busses/i2c-qup.c
··· 1648 1648 1649 1649 static const struct acpi_device_id qup_i2c_acpi_match[] = { 1650 1650 { "QCOM8010"}, 1651 - { }, 1651 + { } 1652 1652 }; 1653 1653 MODULE_DEVICE_TABLE(acpi, qup_i2c_acpi_match); 1654 1654
+1 -1
drivers/i2c/busses/i2c-s3c2410.c
··· 130 130 }, { 131 131 .name = "s3c2440-hdmiphy-i2c", 132 132 .driver_data = QUIRK_S3C2440 | QUIRK_HDMIPHY | QUIRK_NO_GPIO, 133 - }, { }, 133 + }, { } 134 134 }; 135 135 MODULE_DEVICE_TABLE(platform, s3c24xx_driver_ids); 136 136
+1 -1
drivers/i2c/i2c-core-base.c
··· 1068 1068 static const struct i2c_device_id dummy_id[] = { 1069 1069 { "dummy", }, 1070 1070 { "smbus_host_notify", }, 1071 - { }, 1071 + { } 1072 1072 }; 1073 1073 1074 1074 static int dummy_probe(struct i2c_client *client)