]> www.infradead.org Git - linux.git/commitdiff
iio: adc: standardize on formatting for id match tables
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 18 Aug 2024 18:09:12 +0000 (19:09 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 5 Sep 2024 18:27:13 +0000 (19:27 +0100)
This is a frequent minor comment in reviews, so start cleaning up
existing drivers in the hope we get fewer cases of cut and paste.

There are not kernel wide rules for these, but for IIO the style
that I prefer (and hence most common) is:

- Space after { and before }
- No comma after terminator { }

This may cause merge conflicts but they should be trivial to resolve
hence I have not broken this into per driver patches.

Link: https://patch.msgid.link/20240818180912.719399-1-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
64 files changed:
drivers/iio/adc/ad7091r5.c
drivers/iio/adc/ad7124.c
drivers/iio/adc/ad7192.c
drivers/iio/adc/ad7266.c
drivers/iio/adc/ad7280a.c
drivers/iio/adc/ad7291.c
drivers/iio/adc/ad7292.c
drivers/iio/adc/ad7298.c
drivers/iio/adc/ad7476.c
drivers/iio/adc/ad7606_par.c
drivers/iio/adc/ad7606_spi.c
drivers/iio/adc/ad7766.c
drivers/iio/adc/ad7768-1.c
drivers/iio/adc/ad7780.c
drivers/iio/adc/ad7793.c
drivers/iio/adc/ad7887.c
drivers/iio/adc/ad7923.c
drivers/iio/adc/ad9467.c
drivers/iio/adc/aspeed_adc.c
drivers/iio/adc/at91_adc.c
drivers/iio/adc/axp288_adc.c
drivers/iio/adc/bcm_iproc_adc.c
drivers/iio/adc/berlin2-adc.c
drivers/iio/adc/ep93xx_adc.c
drivers/iio/adc/exynos_adc.c
drivers/iio/adc/hi8435.c
drivers/iio/adc/hx711.c
drivers/iio/adc/ina2xx-adc.c
drivers/iio/adc/ingenic-adc.c
drivers/iio/adc/lpc32xx_adc.c
drivers/iio/adc/ltc2496.c
drivers/iio/adc/ltc2497.c
drivers/iio/adc/max1027.c
drivers/iio/adc/max11100.c
drivers/iio/adc/max1118.c
drivers/iio/adc/max1241.c
drivers/iio/adc/max34408.c
drivers/iio/adc/max9611.c
drivers/iio/adc/mp2629_adc.c
drivers/iio/adc/mt6360-adc.c
drivers/iio/adc/nau7802.c
drivers/iio/adc/pac1921.c
drivers/iio/adc/pac1934.c
drivers/iio/adc/qcom-pm8xxx-xoadc.c
drivers/iio/adc/qcom-spmi-rradc.c
drivers/iio/adc/rockchip_saradc.c
drivers/iio/adc/rtq6056.c
drivers/iio/adc/stm32-adc.c
drivers/iio/adc/stm32-dfsdm-adc.c
drivers/iio/adc/stm32-dfsdm-core.c
drivers/iio/adc/stmpe-adc.c
drivers/iio/adc/ti-adc0832.c
drivers/iio/adc/ti-adc084s021.c
drivers/iio/adc/ti-adc12138.c
drivers/iio/adc/ti-adc161s626.c
drivers/iio/adc/ti-ads1015.c
drivers/iio/adc/ti-ads124s08.c
drivers/iio/adc/ti-ads131e08.c
drivers/iio/adc/ti-ads7924.c
drivers/iio/adc/ti-ads7950.c
drivers/iio/adc/ti-ads8344.c
drivers/iio/adc/ti-ads8688.c
drivers/iio/adc/ti-lmp92064.c
drivers/iio/adc/ti-tlc4541.c

index a75837334157da498dfbbf26dfd673eb11275767..1b59708abf30769c30ed48229fc9dae4b0316e75 100644 (file)
@@ -112,13 +112,13 @@ static int ad7091r5_i2c_probe(struct i2c_client *i2c)
 
 static const struct of_device_id ad7091r5_dt_ids[] = {
        { .compatible = "adi,ad7091r5", .data = &ad7091r5_init_info },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7091r5_dt_ids);
 
 static const struct i2c_device_id ad7091r5_i2c_ids[] = {
-       {"ad7091r5", (kernel_ulong_t)&ad7091r5_init_info },
-       {}
+       { "ad7091r5", (kernel_ulong_t)&ad7091r5_init_info },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ad7091r5_i2c_ids);
 
index 37aa3bdcdf4f6c84c1bbbbd8fd9632fc6814da8b..c5ace69bfa43f3992478a17b11d9f5120d3159b7 100644 (file)
@@ -1008,14 +1008,14 @@ static const struct of_device_id ad7124_of_match[] = {
                .data = &ad7124_chip_info_tbl[ID_AD7124_4], },
        { .compatible = "adi,ad7124-8",
                .data = &ad7124_chip_info_tbl[ID_AD7124_8], },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7124_of_match);
 
 static const struct spi_device_id ad71124_ids[] = {
        { "ad7124-4", (kernel_ulong_t)&ad7124_chip_info_tbl[ID_AD7124_4] },
        { "ad7124-8", (kernel_ulong_t)&ad7124_chip_info_tbl[ID_AD7124_8] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad71124_ids);
 
index 10ce66b999c6380c52a1715cc4843df02c344128..7042ddfdfc03ee5ea58ca07fb1943feb6538175b 100644 (file)
@@ -286,7 +286,7 @@ static const struct iio_chan_spec_ext_info ad7192_calibsys_ext_info[] = {
                 &ad7192_syscalib_mode_enum),
        IIO_ENUM_AVAILABLE("sys_calibration_mode", IIO_SHARED_BY_TYPE,
                           &ad7192_syscalib_mode_enum),
-       {}
+       { }
 };
 
 static struct ad7192_state *ad_sigma_delta_to_ad7192(struct ad_sigma_delta *sd)
@@ -1431,7 +1431,7 @@ static const struct of_device_id ad7192_of_match[] = {
        { .compatible = "adi,ad7193", .data = &ad7192_chip_info_tbl[ID_AD7193] },
        { .compatible = "adi,ad7194", .data = &ad7192_chip_info_tbl[ID_AD7194] },
        { .compatible = "adi,ad7195", .data = &ad7192_chip_info_tbl[ID_AD7195] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7192_of_match);
 
@@ -1441,7 +1441,7 @@ static const struct spi_device_id ad7192_ids[] = {
        { "ad7193", (kernel_ulong_t)&ad7192_chip_info_tbl[ID_AD7193] },
        { "ad7194", (kernel_ulong_t)&ad7192_chip_info_tbl[ID_AD7194] },
        { "ad7195", (kernel_ulong_t)&ad7192_chip_info_tbl[ID_AD7195] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7192_ids);
 
index 88f39533f249c3f508570603db0a23ab5b86b451..7949b076fb87eac6f69d65a725fbc498407f1812 100644 (file)
@@ -457,8 +457,8 @@ static int ad7266_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7266_id[] = {
-       {"ad7265", 0},
-       {"ad7266", 0},
+       { "ad7265", 0 },
+       { "ad7266", 0 },
        { }
 };
 MODULE_DEVICE_TABLE(spi, ad7266_id);
index 7bfa090da4dfa791e684309e1a98747814ec2f42..35aa39fe4bde62290996abd3076ac350eedf1052 100644 (file)
@@ -1090,8 +1090,8 @@ static int ad7280_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7280_id[] = {
-       {"ad7280a", 0},
-       {}
+       { "ad7280a", 0 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7280_id);
 
index b59b2a51623c398893236c75c4ce4f8a6ebced86..4c7f887adbbf2f2c857288b19ce8058ee5ebdffb 100644 (file)
@@ -537,14 +537,14 @@ static int ad7291_probe(struct i2c_client *client)
 
 static const struct i2c_device_id ad7291_id[] = {
        { "ad7291" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, ad7291_id);
 
 static const struct of_device_id ad7291_of_match[] = {
        { .compatible = "adi,ad7291" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7291_of_match);
 
index ede80f380911b6a705d3afba7e6b68f9d1a5152e..a398973f313d8a21a8bf298c9ce356ce616fb340 100644 (file)
@@ -301,13 +301,13 @@ static int ad7292_probe(struct spi_device *spi)
 
 static const struct spi_device_id ad7292_id_table[] = {
        { "ad7292", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7292_id_table);
 
 static const struct of_device_id ad7292_of_match[] = {
        { .compatible = "adi,ad7292" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7292_of_match);
 
index 0128436367db74898b13f86c62f88f5cdb142575..b35bd4d9ef81b07f7b6cf13051876c82ae0a9581 100644 (file)
@@ -355,8 +355,8 @@ static const struct acpi_device_id ad7298_acpi_ids[] = {
 MODULE_DEVICE_TABLE(acpi, ad7298_acpi_ids);
 
 static const struct spi_device_id ad7298_id[] = {
-       {"ad7298", 0},
-       {}
+       { "ad7298", 0 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7298_id);
 
index 80aebed47d1fa607ccc8ba140007bdaa0b5cf1bb..aeb8e383fe71b2ab638fe4ea5680eff0f50c5397 100644 (file)
@@ -409,35 +409,35 @@ static int ad7476_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7476_id[] = {
-       {"ad7091", ID_AD7091},
-       {"ad7091r", ID_AD7091R},
-       {"ad7273", ID_AD7273},
-       {"ad7274", ID_AD7274},
-       {"ad7276", ID_AD7276},
-       {"ad7277", ID_AD7277},
-       {"ad7278", ID_AD7278},
-       {"ad7466", ID_AD7466},
-       {"ad7467", ID_AD7467},
-       {"ad7468", ID_AD7468},
-       {"ad7475", ID_AD7475},
-       {"ad7476", ID_AD7466},
-       {"ad7476a", ID_AD7466},
-       {"ad7477", ID_AD7467},
-       {"ad7477a", ID_AD7467},
-       {"ad7478", ID_AD7468},
-       {"ad7478a", ID_AD7468},
-       {"ad7495", ID_AD7495},
-       {"ad7910", ID_AD7467},
-       {"ad7920", ID_AD7466},
-       {"ad7940", ID_AD7940},
-       {"adc081s", ID_ADC081S},
-       {"adc101s", ID_ADC101S},
-       {"adc121s", ID_ADC121S},
-       {"ads7866", ID_ADS7866},
-       {"ads7867", ID_ADS7867},
-       {"ads7868", ID_ADS7868},
-       {"ltc2314-14", ID_LTC2314_14},
-       {}
+       { "ad7091", ID_AD7091 },
+       { "ad7091r", ID_AD7091R },
+       { "ad7273", ID_AD7273 },
+       { "ad7274", ID_AD7274 },
+       { "ad7276", ID_AD7276},
+       { "ad7277", ID_AD7277 },
+       { "ad7278", ID_AD7278 },
+       { "ad7466", ID_AD7466 },
+       { "ad7467", ID_AD7467 },
+       { "ad7468", ID_AD7468 },
+       { "ad7475", ID_AD7475 },
+       { "ad7476", ID_AD7466 },
+       { "ad7476a", ID_AD7466 },
+       { "ad7477", ID_AD7467 },
+       { "ad7477a", ID_AD7467 },
+       { "ad7478", ID_AD7468 },
+       { "ad7478a", ID_AD7468 },
+       { "ad7495", ID_AD7495 },
+       { "ad7910", ID_AD7467 },
+       { "ad7920", ID_AD7466 },
+       { "ad7940", ID_AD7940 },
+       { "adc081s", ID_ADC081S },
+       { "adc101s", ID_ADC101S },
+       { "adc121s", ID_ADC121S },
+       { "ads7866", ID_ADS7866 },
+       { "ads7867", ID_ADS7867 },
+       { "ads7868", ID_ADS7868 },
+       { "ltc2314-14", ID_LTC2314_14 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7476_id);
 
index d8408052262e4d4c25d8c8a7cea06cf39752afdc..b5975bbfcbe0ec27eebe4233efda554ad1a50c24 100644 (file)
@@ -83,7 +83,7 @@ static const struct of_device_id ad7606_of_match[] = {
        { .compatible = "adi,ad7606-4" },
        { .compatible = "adi,ad7606-6" },
        { .compatible = "adi,ad7606-8" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7606_of_match);
 
index 287a0591533b6a57b6ef6ea0622b3bc72c635f10..62ec121953079944210563c2e8e618615148bf17 100644 (file)
@@ -334,7 +334,7 @@ static const struct spi_device_id ad7606_id_table[] = {
        { "ad7606-8", ID_AD7606_8 },
        { "ad7606b",  ID_AD7606B },
        { "ad7616",   ID_AD7616 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7606_id_table);
 
@@ -345,7 +345,7 @@ static const struct of_device_id ad7606_of_match[] = {
        { .compatible = "adi,ad7606-8" },
        { .compatible = "adi,ad7606b" },
        { .compatible = "adi,ad7616" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7606_of_match);
 
index 3079a0872947e047d2ba9df33e5934ce2fff0816..4d570383ef0251a36efe8da5a8fe0b3610e98875 100644 (file)
@@ -291,13 +291,13 @@ static int ad7766_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7766_id[] = {
-       {"ad7766", ID_AD7766},
-       {"ad7766-1", ID_AD7766_1},
-       {"ad7766-2", ID_AD7766_2},
-       {"ad7767", ID_AD7766},
-       {"ad7767-1", ID_AD7766_1},
-       {"ad7767-2", ID_AD7766_2},
-       {}
+       { "ad7766", ID_AD7766 },
+       { "ad7766-1", ID_AD7766_1 },
+       { "ad7766-2", ID_AD7766_2 },
+       { "ad7767", ID_AD7766 },
+       { "ad7767-1", ID_AD7766_1 },
+       { "ad7767-2", ID_AD7766_2 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7766_id);
 
index 721672fe84ab379edffeaeadaa3fe6c76334bffa..113703fb724544a848b78b48e1e4d640355c2776 100644 (file)
@@ -655,7 +655,7 @@ MODULE_DEVICE_TABLE(spi, ad7768_id_table);
 
 static const struct of_device_id ad7768_of_match[] = {
        { .compatible = "adi,ad7768-1" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7768_of_match);
 
index a813fe04787c6009c6b2eb5ad327d27319fc9e5b..e9b0c577c9cca451ad1b104ce97348956ea29898 100644 (file)
@@ -355,11 +355,11 @@ static int ad7780_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7780_id[] = {
-       {"ad7170", ID_AD7170},
-       {"ad7171", ID_AD7171},
-       {"ad7780", ID_AD7780},
-       {"ad7781", ID_AD7781},
-       {}
+       { "ad7170", ID_AD7170 },
+       { "ad7171", ID_AD7171 },
+       { "ad7780", ID_AD7780 },
+       { "ad7781", ID_AD7781 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7780_id);
 
index d4ad7e0b515a238337ebbba69057e5048bf98dfc..abebd519cafa30c8d4a2ef1a9887e430f7c217ca 100644 (file)
@@ -824,16 +824,16 @@ static int ad7793_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7793_id[] = {
-       {"ad7785", ID_AD7785},
-       {"ad7792", ID_AD7792},
-       {"ad7793", ID_AD7793},
-       {"ad7794", ID_AD7794},
-       {"ad7795", ID_AD7795},
-       {"ad7796", ID_AD7796},
-       {"ad7797", ID_AD7797},
-       {"ad7798", ID_AD7798},
-       {"ad7799", ID_AD7799},
-       {}
+       { "ad7785", ID_AD7785 },
+       { "ad7792", ID_AD7792 },
+       { "ad7793", ID_AD7793 },
+       { "ad7794", ID_AD7794 },
+       { "ad7795", ID_AD7795 },
+       { "ad7796", ID_AD7796 },
+       { "ad7797", ID_AD7797 },
+       { "ad7798", ID_AD7798 },
+       { "ad7799", ID_AD7799 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7793_id);
 
index 965bdc8aa6961f290159160bbf8d166bcc814032..6265ce7df703067533a96f704a3ccbd11725e517 100644 (file)
@@ -329,8 +329,8 @@ static int ad7887_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7887_id[] = {
-       {"ad7887", ID_AD7887},
-       {}
+       { "ad7887", ID_AD7887 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7887_id);
 
index 9d6bf6d0927a4b4f2d8b2f0bb2e5fa338cd2412e..09680015a7ab54c5b668c500d1d995c67463e6a2 100644 (file)
@@ -361,14 +361,14 @@ static int ad7923_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ad7923_id[] = {
-       {"ad7904", AD7904},
-       {"ad7914", AD7914},
-       {"ad7923", AD7924},
-       {"ad7924", AD7924},
-       {"ad7908", AD7908},
-       {"ad7918", AD7918},
-       {"ad7928", AD7928},
-       {}
+       { "ad7904", AD7904 },
+       { "ad7914", AD7914 },
+       { "ad7923", AD7924 },
+       { "ad7924", AD7924 },
+       { "ad7908", AD7908 },
+       { "ad7918", AD7918 },
+       { "ad7928", AD7928 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7923_id);
 
@@ -380,7 +380,7 @@ static const struct of_device_id ad7923_of_match[] = {
        { .compatible = "adi,ad7908", },
        { .compatible = "adi,ad7918", },
        { .compatible = "adi,ad7928", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7923_of_match);
 
index ce0bae94aa3a53617001b79f33acff364c152d8e..05fb7a75531fb7a71e05022044290c2b79252887 100644 (file)
@@ -1252,7 +1252,7 @@ static const struct of_device_id ad9467_of_match[] = {
        { .compatible = "adi,ad9643", .data = &ad9643_chip_tbl, },
        { .compatible = "adi,ad9649", .data = &ad9649_chip_tbl, },
        { .compatible = "adi,ad9652", .data = &ad9652_chip_tbl, },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad9467_of_match);
 
@@ -1263,7 +1263,7 @@ static const struct spi_device_id ad9467_ids[] = {
        { "ad9643", (kernel_ulong_t)&ad9643_chip_tbl },
        { "ad9649", (kernel_ulong_t)&ad9649_chip_tbl, },
        { "ad9652", (kernel_ulong_t)&ad9652_chip_tbl, },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad9467_ids);
 
index 064cddaf639934cf79b87d6f4d4c3f9babad1e81..1d5fd5f534b8a19fffff018f844049bce353f71e 100644 (file)
@@ -694,7 +694,7 @@ static const struct of_device_id aspeed_adc_matches[] = {
        { .compatible = "aspeed,ast2500-adc", .data = &ast2500_model_data },
        { .compatible = "aspeed,ast2600-adc0", .data = &ast2600_adc0_model_data },
        { .compatible = "aspeed,ast2600-adc1", .data = &ast2600_adc1_model_data },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, aspeed_adc_matches);
 
index 510e826014e69b26e9b94f6e162ec66c54de86ed..9c39acff17e6585937d10670a72f088620f0b5ac 100644 (file)
@@ -1335,7 +1335,7 @@ static const struct of_device_id at91_adc_dt_ids[] = {
        { .compatible = "atmel,at91sam9g45-adc", .data = &at91sam9g45_caps },
        { .compatible = "atmel,at91sam9x5-adc", .data = &at91sam9x5_caps },
        { .compatible = "atmel,sama5d3-adc", .data = &sama5d3_caps },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);
 
index f135cf2362dfc70426d3491db37d367a9fcd8816..8c3acc0cd7e99a4f378bc630f4e9eb3671e45348 100644 (file)
@@ -299,7 +299,7 @@ static int axp288_adc_probe(struct platform_device *pdev)
 
 static const struct platform_device_id axp288_adc_id_table[] = {
        { .name = "axp288_adc" },
-       {},
+       { }
 };
 
 static struct platform_driver axp288_adc_driver = {
index 6bc149c5141413cb969a1ae7ba53d99f83a0d393..cdfe304eaa201112ac0d8d529809e8e26ffafdce 100644 (file)
@@ -606,7 +606,7 @@ static void iproc_adc_remove(struct platform_device *pdev)
 
 static const struct of_device_id iproc_adc_of_match[] = {
        {.compatible = "brcm,iproc-static-adc", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, iproc_adc_of_match);
 
index 4cdddc6e36e9c9de2d97006e5a2c12bdf463f1de..fa04e0a5f64553b1574968acbcef8cd47746bd74 100644 (file)
@@ -351,7 +351,7 @@ static int berlin2_adc_probe(struct platform_device *pdev)
 
 static const struct of_device_id berlin2_adc_match[] = {
        { .compatible = "marvell,berlin2-adc", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, berlin2_adc_match);
 
index 971942ce4c6667cb4f0590fed83dbebd327899d7..cc38d5e0608eed8a4d514c7e94d26adc035ba924 100644 (file)
@@ -228,7 +228,7 @@ static void ep93xx_adc_remove(struct platform_device *pdev)
 
 static const struct of_device_id ep93xx_adc_of_ids[] = {
        { .compatible = "cirrus,ep9301-adc" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ep93xx_adc_of_ids);
 
index 78fada4b7b1c86c7612cbeb7e747e89d07748ada..4d00ee8dd14d0898a1f28b518f7d12d87bc19046 100644 (file)
@@ -519,7 +519,7 @@ static const struct of_device_id exynos_adc_match[] = {
                .compatible = "samsung,exynos7-adc",
                .data = &exynos7_adc_data,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, exynos_adc_match);
 
index 771fa12bdc026da9af33ceb0ef2a347915bbd2c5..fb635a756440300432b0bbcf1fd9ebce2e9ab92d 100644 (file)
@@ -524,7 +524,7 @@ static int hi8435_probe(struct spi_device *spi)
 
 static const struct of_device_id hi8435_dt_ids[] = {
        { .compatible = "holt,hi8435" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, hi8435_dt_ids);
 
index 376f4e02de9724658f6511dabfa46f3c1f7f7c2c..8da0419ecfa3575aa54a93707c681ec8ced28be8 100644 (file)
@@ -552,7 +552,7 @@ static int hx711_probe(struct platform_device *pdev)
 
 static const struct of_device_id of_hx711_match[] = {
        { .compatible = "avia,hx711", },
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, of_hx711_match);
index 0fc24bceb58aafaba5d5a1cf3dccdb5271e6d948..48c95e12e791f266bf04eb04c0241fccc98433ce 100644 (file)
@@ -1052,12 +1052,12 @@ static void ina2xx_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ina2xx_id[] = {
-       {"ina219", ina219},
-       {"ina220", ina219},
-       {"ina226", ina226},
-       {"ina230", ina226},
-       {"ina231", ina226},
-       {}
+       { "ina219", ina219 },
+       { "ina220", ina219 },
+       { "ina226", ina226 },
+       { "ina230", ina226 },
+       { "ina231", ina226 },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ina2xx_id);
 
@@ -1082,7 +1082,7 @@ static const struct of_device_id ina2xx_of_match[] = {
                .compatible = "ti,ina231",
                .data = (void *)ina226
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ina2xx_of_match);
 
index af70ca760797d0fb9ad22f59b2777f33d877fe8f..1e802c8779a4c07e9bfec49a0a8379229521d14b 100644 (file)
@@ -908,7 +908,7 @@ static const struct of_device_id ingenic_adc_of_match[] = {
        { .compatible = "ingenic,jz4760-adc", .data = &jz4760_adc_soc_data, },
        { .compatible = "ingenic,jz4760b-adc", .data = &jz4760_adc_soc_data, },
        { .compatible = "ingenic,jz4770-adc", .data = &jz4770_adc_soc_data, },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ingenic_adc_of_match);
 
index e34ed7dacd89349c9b189136a0971fc0a48b7186..43a7bc8158b579895d15a96201cdb8cdf02f8e49 100644 (file)
@@ -217,7 +217,7 @@ static int lpc32xx_adc_probe(struct platform_device *pdev)
 
 static const struct of_device_id lpc32xx_adc_match[] = {
        { .compatible = "nxp,lpc3220-adc" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, lpc32xx_adc_match);
 
index 2593fa4322ebd59d02ff98cb275800b2cb929804..f06dd0b9a85819935abea6496abe2a808ac549c6 100644 (file)
@@ -94,7 +94,7 @@ static const struct ltc2497_chip_info ltc2496_info = {
 
 static const struct of_device_id ltc2496_of_match[] = {
        { .compatible = "lltc,ltc2496", .data = &ltc2496_info, },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltc2496_of_match);
 
index 6401a7727c31a512ca84f95657e9da480a111af3..f010b2fd12029a71f62ce577e9e834433bbd99d1 100644 (file)
@@ -151,7 +151,7 @@ MODULE_DEVICE_TABLE(i2c, ltc2497_id);
 static const struct of_device_id ltc2497_of_match[] = {
        { .compatible = "lltc,ltc2497", .data = &ltc2497_info[TYPE_LTC2497] },
        { .compatible = "lltc,ltc2499", .data = &ltc2497_info[TYPE_LTC2499] },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltc2497_of_match);
 
index 136fcf753837c83ec7c9e67b6732ce3f7c152666..f5ba4a1b5a7de253361effcbb84f76524a6513da 100644 (file)
@@ -73,13 +73,13 @@ enum max1027_id {
 };
 
 static const struct spi_device_id max1027_id[] = {
-       {"max1027", max1027},
-       {"max1029", max1029},
-       {"max1031", max1031},
-       {"max1227", max1227},
-       {"max1229", max1229},
-       {"max1231", max1231},
-       {}
+       { "max1027", max1027 },
+       { "max1029", max1029 },
+       { "max1031", max1031 },
+       { "max1227", max1227 },
+       { "max1229", max1229 },
+       { "max1231", max1231 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, max1027_id);
 
@@ -90,7 +90,7 @@ static const struct of_device_id max1027_adc_dt_ids[] = {
        { .compatible = "maxim,max1227" },
        { .compatible = "maxim,max1229" },
        { .compatible = "maxim,max1231" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, max1027_adc_dt_ids);
 
index 49e38dca8fe2c7e5e53e2cdcdabe2098ead88285..2f07437caec34d076e8666359f3ce08d05119c86 100644 (file)
@@ -143,8 +143,8 @@ static int max11100_probe(struct spi_device *spi)
 }
 
 static const struct of_device_id max11100_ids[] = {
-       {.compatible = "maxim,max11100"},
-       { },
+       { .compatible = "maxim,max11100" },
+       { }
 };
 MODULE_DEVICE_TABLE(of, max11100_ids);
 
index 0beccfde81f268cb6a0e42255a487dc36b3ac393..3d0a7d0eb7ee1ab1bdf6796dd8ba55f0091d4407 100644 (file)
@@ -260,7 +260,7 @@ static const struct spi_device_id max1118_id[] = {
        { "max1117", max1117 },
        { "max1118", max1118 },
        { "max1119", max1119 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, max1118_id);
 
@@ -268,7 +268,7 @@ static const struct of_device_id max1118_dt_ids[] = {
        { .compatible = "maxim,max1117" },
        { .compatible = "maxim,max1118" },
        { .compatible = "maxim,max1119" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, max1118_dt_ids);
 
index 500bb09ab19bc98004fedb4164f8c636ee0483ed..d62c1a01165933430422d89572ad3ba1c6f17a5c 100644 (file)
@@ -177,12 +177,12 @@ static int max1241_probe(struct spi_device *spi)
 
 static const struct spi_device_id max1241_id[] = {
        { "max1241", max1241 },
-       {}
+       { }
 };
 
 static const struct of_device_id max1241_dt_ids[] = {
        { .compatible = "maxim,max1241" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, max1241_dt_ids);
 
index 6c2ea2bc52c6f13e8ad5393fc065a23d963b86a7..ffec22be2d593343c8cec1891fa2c6c6b3f18019 100644 (file)
@@ -250,14 +250,14 @@ static const struct of_device_id max34408_of_match[] = {
                .compatible = "maxim,max34409",
                .data = &max34409_model_data,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, max34408_of_match);
 
 static const struct i2c_device_id max34408_id[] = {
        { "max34408", (kernel_ulong_t)&max34408_model_data },
        { "max34409", (kernel_ulong_t)&max34409_model_data },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, max34408_id);
 
index 76e517b7b1e4f3375ad570838e825f91839103d2..14fe42fc4b7dac704ee3178517810a6eaf46b22f 100644 (file)
@@ -504,9 +504,9 @@ static int max9611_init(struct max9611_dev *max9611)
 }
 
 static const struct of_device_id max9611_of_table[] = {
-       {.compatible = "maxim,max9611", .data = "max9611"},
-       {.compatible = "maxim,max9612", .data = "max9612"},
-       { },
+       { .compatible = "maxim,max9611", .data = "max9611" },
+       { .compatible = "maxim,max9612", .data = "max9612" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, max9611_of_table);
index 5f672765d4a20e58dd4d564336faab8583b7ef64..5fbf9b6abd9c7c05322a305f7b315c75f6d179a5 100644 (file)
@@ -184,8 +184,8 @@ static void mp2629_adc_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id mp2629_adc_of_match[] = {
-       { .compatible = "mps,mp2629_adc"},
-       {}
+       { .compatible = "mps,mp2629_adc" },
+       { }
 };
 MODULE_DEVICE_TABLE(of, mp2629_adc_of_match);
 
index f74347663ad8057b97f9455b0b28854ffa601a3a..e2ec805e834fe96fff6156bdb2e38a1a331926f2 100644 (file)
@@ -355,7 +355,7 @@ static int mt6360_adc_probe(struct platform_device *pdev)
 
 static const struct of_device_id mt6360_adc_of_id[] = {
        { .compatible = "mediatek,mt6360-adc", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mt6360_adc_of_id);
 
index 600151a62f1fe30e4aec4963a9a57251db7908a7..458544cb8ee48a4a030acc23fce9e7caa2ad65b4 100644 (file)
@@ -539,7 +539,7 @@ MODULE_DEVICE_TABLE(i2c, nau7802_i2c_id);
 
 static const struct of_device_id nau7802_dt_ids[] = {
        { .compatible = "nuvoton,nau7802" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, nau7802_dt_ids);
 
index 8200a47bdf215401d6b1c30b5e1f64d05ddd3d23..4c2a1c07bc399028f0334885fc9cd4552d5892b1 100644 (file)
@@ -1234,13 +1234,13 @@ static int pac1921_probe(struct i2c_client *client)
 
 static const struct i2c_device_id pac1921_id[] = {
        { .name = "pac1921", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, pac1921_id);
 
 static const struct of_device_id pac1921_of_match[] = {
        { .compatible = "microchip,pac1921" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, pac1921_of_match);
 
index ae24a27805ab6b2bbac7fbffd6c6047db5f281c9..8210728034d0a626396742e99d23f4e752fe3498 100644 (file)
@@ -1571,7 +1571,7 @@ static const struct i2c_device_id pac1934_id[] = {
        { .name = "pac1932", .driver_data = (kernel_ulong_t)&pac1934_chip_config[PAC1932] },
        { .name = "pac1933", .driver_data = (kernel_ulong_t)&pac1934_chip_config[PAC1933] },
        { .name = "pac1934", .driver_data = (kernel_ulong_t)&pac1934_chip_config[PAC1934] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, pac1934_id);
 
@@ -1592,7 +1592,7 @@ static const struct of_device_id pac1934_of_match[] = {
                .compatible = "microchip,pac1934",
                .data = &pac1934_chip_config[PAC1934]
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, pac1934_of_match);
 
@@ -1602,7 +1602,7 @@ MODULE_DEVICE_TABLE(of, pac1934_of_match);
  */
 static const struct acpi_device_id pac1934_acpi_match[] = {
        { "MCHP1930", .driver_data = (kernel_ulong_t)&pac1934_chip_config[PAC1934] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, pac1934_acpi_match);
 
index c9d2c66434e4f4489ddf46ecf7330a0ae220a0a9..9e1112f5acc6a46b02491f89e76d8168f3a9dbc7 100644 (file)
@@ -1006,7 +1006,7 @@ static const struct of_device_id pm8xxx_xoadc_id_table[] = {
                .compatible = "qcom,pm8921-adc",
                .data = &pm8921_variant,
        },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, pm8xxx_xoadc_id_table);
 
index 1402df68dd52898aa267438aabbf0fc81ab70e45..6aa70b4629a7cc52ada2866b89d438121afa698c 100644 (file)
@@ -1002,7 +1002,7 @@ static int rradc_probe(struct platform_device *pdev)
 static const struct of_device_id rradc_match_table[] = {
        { .compatible = "qcom,pm660-rradc" },
        { .compatible = "qcom,pmi8998-rradc" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, rradc_match_table);
 
index 71f58e3a830750fece1f1f0e4221fd18cdc06a8f..240cfa391674e7deefaa9f2a51c8c825f300f577 100644 (file)
@@ -331,7 +331,7 @@ static const struct of_device_id rockchip_saradc_match[] = {
                .compatible = "rockchip,rk3588-saradc",
                .data = &rk3588_saradc_data,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, rockchip_saradc_match);
 
index 45b1b81c9fdd2679fdc8633aa99361f36cba5b8a..56ed948a8ae10dc0ea79c524b1a942166f6a43f4 100644 (file)
@@ -865,7 +865,7 @@ static const struct richtek_dev_data rtq6059_devdata = {
 static const struct of_device_id rtq6056_device_match[] = {
        { .compatible = "richtek,rtq6056", .data = &rtq6056_devdata },
        { .compatible = "richtek,rtq6059", .data = &rtq6059_devdata },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, rtq6056_device_match);
 
index c901ba1bc6ba2b164fcca9b1a5b107f0cae1c8a7..32ca26ed59f7af111d4da0caa73cafa98fd472c4 100644 (file)
@@ -2638,7 +2638,7 @@ static const struct of_device_id stm32_adc_of_match[] = {
        { .compatible = "st,stm32h7-adc", .data = (void *)&stm32h7_adc_cfg },
        { .compatible = "st,stm32mp1-adc", .data = (void *)&stm32mp1_adc_cfg },
        { .compatible = "st,stm32mp13-adc", .data = (void *)&stm32mp13_adc_cfg },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, stm32_adc_of_match);
 
index 1a24d496fc613bd6b1f0b561f877b9645a34c87e..2037f73426d4b3420072ad578548a4eb20611204 100644 (file)
@@ -1466,7 +1466,7 @@ static const struct iio_chan_spec_ext_info dfsdm_adc_audio_ext_info[] = {
                .read = dfsdm_adc_audio_get_spiclk,
                .write = dfsdm_adc_audio_set_spiclk,
        },
-       {},
+       { }
 };
 
 static void stm32_dfsdm_dma_release(struct iio_dev *indio_dev)
index a05d978b8cb86f6fc3d8f7b3090cad7daa7a897f..bef59fcc0d807c9626ef530bf8da536cc1a0fafd 100644 (file)
@@ -299,7 +299,7 @@ static const struct of_device_id stm32_dfsdm_of_match[] = {
                .compatible = "st,stm32mp1-dfsdm",
                .data = &stm32mp1_dfsdm_data,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, stm32_dfsdm_of_match);
 
index 8e56def1c9e5c988e0ab7df580b570d619d25a40..b0add5a2eab532df82125d328a742f629c11adaa 100644 (file)
@@ -347,7 +347,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(stmpe_adc_pm_ops, NULL, stmpe_adc_resume);
 
 static const struct of_device_id stmpe_adc_ids[] = {
        { .compatible = "st,stmpe-adc", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, stmpe_adc_ids);
 
index d7800e1fa53673b6bd3cd26415513bc96651dbce..e2dbd070c7c4f2d86afe586ba44124fb384069fd 100644 (file)
@@ -309,7 +309,7 @@ static const struct of_device_id adc0832_dt_ids[] = {
        { .compatible = "ti,adc0832", },
        { .compatible = "ti,adc0834", },
        { .compatible = "ti,adc0838", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, adc0832_dt_ids);
 
@@ -318,7 +318,7 @@ static const struct spi_device_id adc0832_id[] = {
        { "adc0832", adc0832 },
        { "adc0834", adc0834 },
        { "adc0838", adc0838 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adc0832_id);
 
index 4a07c6295a2b0b4eb5fb00130db4c1684170ce7e..bf98f9bf942a3fa510d668d1f9ff1ba362927c8d 100644 (file)
@@ -242,13 +242,13 @@ static int adc084s021_probe(struct spi_device *spi)
 
 static const struct of_device_id adc084s021_of_match[] = {
        { .compatible = "ti,adc084s021", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, adc084s021_of_match);
 
 static const struct spi_device_id adc084s021_id[] = {
        { ADC084S021_DRIVER_NAME, 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adc084s021_id);
 
index a2cd8c454e11c7e61fff55df381da6e2a4df0fa4..7f065f457b3617c8672579c9f988a4ee204c5371 100644 (file)
@@ -519,7 +519,7 @@ static const struct of_device_id adc12138_dt_ids[] = {
        { .compatible = "ti,adc12130", },
        { .compatible = "ti,adc12132", },
        { .compatible = "ti,adc12138", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, adc12138_dt_ids);
 
@@ -527,7 +527,7 @@ static const struct spi_device_id adc12138_id[] = {
        { "adc12130", adc12130 },
        { "adc12132", adc12132 },
        { "adc12138", adc12138 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adc12138_id);
 
index f7c78d0dd4499e8730f2dca947d92ebbc10a7803..474e733fb8e04691f1ee72eeb14ce76912227128 100644 (file)
@@ -226,14 +226,14 @@ static int ti_adc_probe(struct spi_device *spi)
 static const struct of_device_id ti_adc_dt_ids[] = {
        { .compatible = "ti,adc141s626", },
        { .compatible = "ti,adc161s626", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ti_adc_dt_ids);
 
 static const struct spi_device_id ti_adc_id[] = {
-       {"adc141s626", TI_ADC141S626},
-       {"adc161s626", TI_ADC161S626},
-       {},
+       { "adc141s626", TI_ADC141S626 },
+       { "adc161s626", TI_ADC161S626 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ti_adc_id);
 
index ca432c49eab1bc94ee8a6a19eb2e9df5211b1f5b..6d1bc9659946df0be15ebc550c84e966a90c9fce 100644 (file)
@@ -1173,7 +1173,7 @@ static const struct i2c_device_id ads1015_id[] = {
        { "ads1015", (kernel_ulong_t)&ads1015_data },
        { "ads1115", (kernel_ulong_t)&ads1115_data },
        { "tla2024", (kernel_ulong_t)&tla2024_data },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ads1015_id);
 
@@ -1181,7 +1181,7 @@ static const struct of_device_id ads1015_of_match[] = {
        { .compatible = "ti,ads1015", .data = &ads1015_data },
        { .compatible = "ti,ads1115", .data = &ads1115_data },
        { .compatible = "ti,tla2024", .data = &tla2024_data },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ads1015_of_match);
 
index c115f892232aea44eb79dc988e347eeb00f6c2e8..14941f384dadddeb07a5f7cee51f5ae5c6353466 100644 (file)
@@ -357,7 +357,7 @@ MODULE_DEVICE_TABLE(spi, ads124s_id);
 static const struct of_device_id ads124s_of_table[] = {
        { .compatible = "ti,ads124s06" },
        { .compatible = "ti,ads124s08" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ads124s_of_table);
 
index 55366ffb048954b51dd7050142fada6223db409a..91a427eb0882e0de78343c37da14695c8eb44867 100644 (file)
@@ -918,7 +918,7 @@ static const struct of_device_id ads131e08_of_match[] = {
          .data = &ads131e08_info_tbl[ads131e06], },
        { .compatible = "ti,ads131e08",
          .data = &ads131e08_info_tbl[ads131e08], },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ads131e08_of_match);
 
@@ -926,7 +926,7 @@ static const struct spi_device_id ads131e08_ids[] = {
        { "ads131e04", (kernel_ulong_t)&ads131e08_info_tbl[ads131e04] },
        { "ads131e06", (kernel_ulong_t)&ads131e08_info_tbl[ads131e06] },
        { "ads131e08", (kernel_ulong_t)&ads131e08_info_tbl[ads131e08] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ads131e08_ids);
 
index 4da78302359b4540890d0189863aae0a204d23ad..66b54c0d75aab72ba0bfd554983ee8df614749d1 100644 (file)
@@ -448,13 +448,13 @@ static int ads7924_probe(struct i2c_client *client)
 
 static const struct i2c_device_id ads7924_id[] = {
        { "ads7924" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ads7924_id);
 
 static const struct of_device_id ads7924_of_match[] = {
        { .compatible = "ti,ads7924", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ads7924_of_match);
 
index 263fc3a1b87e1d97f215e39b489264eefdfa8442..af28672aa8039d59ec6fcef7e507534e6ab4cfdb 100644 (file)
@@ -705,7 +705,7 @@ static const struct of_device_id ads7950_of_table[] = {
        { .compatible = "ti,ads7959", .data = &ti_ads7950_chip_info[TI_ADS7959] },
        { .compatible = "ti,ads7960", .data = &ti_ads7950_chip_info[TI_ADS7960] },
        { .compatible = "ti,ads7961", .data = &ti_ads7950_chip_info[TI_ADS7961] },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ads7950_of_table);
 
index bbd85cb47f816b89656791a434d1810ca266b093..3bec8a2e61abbf2a562986b4ebfa7d279a65c0d0 100644 (file)
@@ -175,7 +175,7 @@ static int ads8344_probe(struct spi_device *spi)
 
 static const struct of_device_id ads8344_of_match[] = {
        { .compatible = "ti,ads8344", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ads8344_of_match);
 
index 94cc823b26f3309611b148ba95ca7e9aaa5a70aa..9b1814f1965a37f660ce60f38c531870b9048e00 100644 (file)
@@ -452,9 +452,9 @@ static int ads8688_probe(struct spi_device *spi)
 }
 
 static const struct spi_device_id ads8688_id[] = {
-       {"ads8684", ID_ADS8684},
-       {"ads8688", ID_ADS8688},
-       {}
+       { "ads8684", ID_ADS8684 },
+       { "ads8688", ID_ADS8688 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ads8688_id);
 
index 84ba5c4a0eea7a1afadd1083291fba34c694fc05..169e3591320b569dd41b24fd8d7f1b4cd85e8261 100644 (file)
@@ -360,7 +360,7 @@ static int lmp92064_adc_probe(struct spi_device *spi)
 
 static const struct spi_device_id lmp92064_id_table[] = {
        { "lmp92064" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, lmp92064_id_table);
 
index 30f629a553a14e991ec949f2b1a93fb7d672070b..08de997584fd0177d30f704fd2d7350770955582 100644 (file)
@@ -237,14 +237,14 @@ static void tlc4541_remove(struct spi_device *spi)
 static const struct of_device_id tlc4541_dt_ids[] = {
        { .compatible = "ti,tlc3541", },
        { .compatible = "ti,tlc4541", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, tlc4541_dt_ids);
 
 static const struct spi_device_id tlc4541_id[] = {
-       {"tlc3541", TLC3541},
-       {"tlc4541", TLC4541},
-       {}
+       { "tlc3541", TLC3541 },
+       { "tlc4541", TLC4541 },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, tlc4541_id);