i2c: don't use ',' after delimiters
Subsystems (16)
PATCH 1/1 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.
---
@Andi: These changes are super trivial so I put them into one patch. Let me know if you prefer broken out patches. I think it is better if it goes through your tree, but I can also take if you prefer.
drivers/i2c/busses/i2c-ali1535.c | 3 +-- drivers/i2c/busses/i2c-amd-mp2-plat.c | 2 +- drivers/i2c/busses/i2c-aspeed.c | 2 +- drivers/i2c/busses/i2c-digicolor.c | 2 +- drivers/i2c/busses/i2c-imx-lpi2c.c | 2 +- drivers/i2c/busses/i2c-omap.c | 2 +- drivers/i2c/busses/i2c-piix4.c | 2 +- drivers/i2c/busses/i2c-pnx.c | 2 +- drivers/i2c/busses/i2c-pxa-pci.c | 2 +- drivers/i2c/busses/i2c-pxa.c | 2 +- drivers/i2c/busses/i2c-qcom-geni.c | 2 +- drivers/i2c/busses/i2c-qup.c | 2 +- drivers/i2c/busses/i2c-s3c2410.c | 2 +- drivers/i2c/i2c-core-base.c | 2 +- 14 files changed, 14 insertions(+), 15 deletions(-)
drivers/i2c/busses/i2c-ali1535.c +1 -2
@@ -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)
drivers/i2c/busses/i2c-amd-mp2-plat.c +1 -1
@@ -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);
drivers/i2c/busses/i2c-aspeed.c +1 -1
@@ -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);
drivers/i2c/busses/i2c-digicolor.c +1 -1
@@ -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);
drivers/i2c/busses/i2c-imx-lpi2c.c +1 -1
@@ -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);
drivers/i2c/busses/i2c-omap.c +1 -1
@@ -1261,7 +1261,7 @@ static const struct of_device_id omap_i2c_of_match[] = { .compatible = "ti,omap2420-i2c", .data = &omap2420_pdata, }, - { }, + { } };MODULE_DEVICE_TABLE (of, omap_i2c_of_match);#endif
drivers/i2c/busses/i2c-piix4.c +1 -1
@@ -146,7 +146,7 @@ static const struct dmi_system_id piix4_dmi_ibm[] = { .ident = "IBM", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "IBM"), }, }, - { }, + { } };/*
drivers/i2c/busses/i2c-pnx.c +1 -1
@@ -721,7 +721,7 @@ static void i2c_pnx_remove(struct platform_device *pdev)#ifdef CONFIG_OF static const struct of_device_id i2c_pnx_of_match[] = { { .compatible ="nxp,pnx-i2c" }, - { }, + { } };MODULE_DEVICE_TABLE (of, i2c_pnx_of_match);#endif
drivers/i2c/busses/i2c-pxa-pci.c +1 -1
@@ -135,7 +135,7 @@ static int ce4100_i2c_probe(struct pci_dev *dev,static const struct pci_device_id ce4100_i2c_devices[] = { {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,0x2e68 )}, - { }, + { } };static struct pci_driver ce4100_i2c_driver = {
drivers/i2c/busses/i2c-pxa.c +1 -1
@@ -218,7 +218,7 @@ static const struct platform_device_id i2c_pxa_id_table[] = { { "ce4100-i2c", REGS_CE4100 }, { "pxa910-i2c", REGS_PXA910 }, { "armada-3700-i2c", REGS_A3700 }, - { }, + { } };MODULE_DEVICE_TABLE (platform, i2c_pxa_id_table);
drivers/i2c/busses/i2c-qcom-geni.c +1 -1
@@ -721,7 +721,7 @@ static const struct i2c_algorithm geni_i2c_algo = {static const struct acpi_device_id geni_i2c_acpi_match[] = { {"QCOM0220" }, {"QCOM0411" }, - { }, + { } };MODULE_DEVICE_TABLE (acpi, geni_i2c_acpi_match);#endif
drivers/i2c/busses/i2c-qup.c +1 -1
@@ -1648,7 +1648,7 @@ static void qup_i2c_disable_clocks(struct qup_i2c_dev *qup)static const struct acpi_device_id qup_i2c_acpi_match[] = { {"QCOM8010" }, - { }, + { } };MODULE_DEVICE_TABLE (acpi, qup_i2c_acpi_match);
drivers/i2c/busses/i2c-s3c2410.c +1 -1
@@ -130,7 +130,7 @@ static const struct platform_device_id s3c24xx_driver_ids[] = { }, { .name = "s3c2440-hdmiphy-i2c", .driver_data = QUIRK_S3C2440 | QUIRK_HDMIPHY | QUIRK_NO_GPIO, - }, { }, + }, { } };MODULE_DEVICE_TABLE (platform, s3c24xx_driver_ids);
drivers/i2c/i2c-core-base.c +1 -1
@@ -1068,7 +1068,7 @@ EXPORT_SYMBOL(i2c_find_device_by_fwnode);static const struct i2c_device_id dummy_id[] = { {"dummy" , }, {"smbus_host_notify" , }, - { }, + { } };static int dummy_probe (struct i2c_client *client)
Signature · 1 line
2.43.0
Andi Shyti
maintainerHi Wolfram,
Quoted 9 lines · Wolfram Sang
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 <[email protected]>---
@Andi: These changes are super trivial so I put them into one patch. Let me know if you prefer broken out patches. I think it is better if it goes through your tree, but I can also take if you prefer.
It's OK... I will leave it for a few days more and then merge it.
Thanks,
Andi
Quoted 6 lines · Wolfram Sang
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 <[email protected]>---
Quoted 7 lines
@Andi: These changes are super trivial so I put them into one patch. Let me know if you prefer broken out patches. I think it is better if it goes through your tree, but I can also take if you prefer.
drivers/i2c/busses/i2c-ali1535.c | 3 +-- drivers/i2c/busses/i2c-amd-mp2-plat.c | 2 +- drivers/i2c/busses/i2c-aspeed.c | 2 +-
Thanks for the cleanup.
For the Aspeed portion:
Andi Shyti
maintainerHi Wolfram,
Quoted 4 lines · Wolfram Sang
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 <[email protected]>
pushed into i2c/i2c-host.
Thanks,
Andi
Quoted 2 lines · Wolfram Sang
Delimiters are meant to be last, no need for a ',' there. Remove a superfluous newline in the ali1535 driver while here.
Thanks for the cleanup.
Signature · 2 lines
Jean Delvare SUSE L3 Support