@@ -1238,8 +1238,8 @@ static const struct i2c_device_id pm860x_id_table[] = {
MODULE_DEVICE_TABLE(i2c, pm860x_id_table);
static const struct of_device_id pm860x_dt_ids[] = {
- { .compatible = "marvell,88pm860x", },
- {},
+ { .compatible = "marvell,88pm860x" },
+ { }
};
MODULE_DEVICE_TABLE(of, pm860x_dt_ids);
@@ -149,8 +149,8 @@ static void ab8500_sysctrl_remove(struct platform_device *pdev)
}
static const struct of_device_id ab8500_sysctrl_match[] = {
- { .compatible = "stericsson,ab8500-sysctrl", },
- {}
+ { .compatible = "stericsson,ab8500-sysctrl" },
+ { }
};
static struct platform_driver ab8500_sysctrl_driver = {
@@ -116,7 +116,7 @@ static int ac100_rsb_probe(struct sunxi_rsb_device *rdev)
static const struct of_device_id ac100_of_match[] = {
{ .compatible = "x-powers,ac100" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, ac100_of_match);
@@ -60,8 +60,8 @@ static const struct i2c_device_id act8945a_i2c_id[] = {
MODULE_DEVICE_TABLE(i2c, act8945a_i2c_id);
static const struct of_device_id act8945a_of_match[] = {
- { .compatible = "active-semi,act8945a", },
- {},
+ { .compatible = "active-semi,act8945a" },
+ { }
};
MODULE_DEVICE_TABLE(of, act8945a_of_match);
@@ -149,7 +149,7 @@ static int altr_a10sr_spi_probe(struct spi_device *spi)
static const struct of_device_id altr_a10sr_spi_of_match[] = {
{ .compatible = "altr,a10sr" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, altr_a10sr_spi_of_match);
@@ -175,7 +175,7 @@ static int sysmgr_probe(struct platform_device *pdev)
static const struct of_device_id altr_sysmgr_of_match[] = {
{ .compatible = "altr,sys-mgr" },
{ .compatible = "altr,sys-mgr-s10" },
- {},
+ { }
};
MODULE_DEVICE_TABLE(of, altr_sysmgr_of_match);
@@ -103,7 +103,7 @@ static const struct of_device_id arizona_i2c_of_match[] = {
{ .compatible = "wlf,wm8997", .data = (void *)WM8997 },
{ .compatible = "wlf,wm8998", .data = (void *)WM8998 },
{ .compatible = "wlf,wm1814", .data = (void *)WM1814 },
- {},
+ { }
};
MODULE_DEVICE_TABLE(of, arizona_i2c_of_match);
#endif
@@ -271,7 +271,7 @@ static const struct of_device_id arizona_spi_of_match[] = {
{ .compatible = "wlf,wm8280", .data = (void *)WM8280 },
{ .compatible = "wlf,wm1831", .data = (void *)WM1831 },
{ .compatible = "cirrus,cs47l24", .data = (void *)CS47L24 },
- {},
+ { }
};
MODULE_DEVICE_TABLE(of, arizona_spi_of_match);
#endif
@@ -111,8 +111,8 @@ static const struct regmap_config as3711_regmap_config = {
#ifdef CONFIG_OF
static const struct of_device_id as3711_of_match[] = {
- {.compatible = "ams,as3711",},
- {}
+ { .compatible = "ams,as3711" },
+ { }
};
#endif
@@ -426,8 +426,8 @@ static int __maybe_unused as3722_i2c_resume(struct device *dev)
}
static const struct of_device_id as3722_of_match[] = {
- { .compatible = "ams,as3722", },
- {},
+ { .compatible = "ams,as3722" },
+ { }
};
MODULE_DEVICE_TABLE(of, as3722_of_match);
@@ -149,7 +149,7 @@ static const struct of_device_id atmel_hlcdc_match[] = {
{ .compatible = "microchip,sam9x60-hlcdc" },
{ .compatible = "microchip,sam9x75-xlcdc" },
{ .compatible = "microchip,sama7d65-xlcdc" },
- { /* sentinel */ },
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, atmel_hlcdc_match);
@@ -333,7 +333,7 @@ static const struct of_device_id atmel_smc_ids[] __maybe_unused = {
{ .compatible = "atmel,at91sam9260-smc", .data = NULL },
{ .compatible = "atmel,sama5d3-smc", .data = &sama5d3_reg_layout },
{ .compatible = "atmel,sama5d2-smc", .data = &sama5d2_reg_layout },
- { /* sentinel */ },
+ { /* sentinel */ }
};
/**
@@ -70,7 +70,7 @@ static const struct of_device_id axp20x_i2c_of_match[] = {
{ .compatible = "x-powers,axp803", .data = (void *)AXP803_ID },
{ .compatible = "x-powers,axp806", .data = (void *)AXP806_ID },
{ .compatible = "x-powers,axp15060", .data = (void *)AXP15060_ID },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, axp20x_i2c_of_match);
#endif
@@ -63,7 +63,7 @@ static const struct of_device_id axp20x_rsb_of_match[] = {
{ .compatible = "x-powers,axp806", .data = (void *)AXP806_ID },
{ .compatible = "x-powers,axp809", .data = (void *)AXP809_ID },
{ .compatible = "x-powers,axp813", .data = (void *)AXP813_ID },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, axp20x_rsb_of_match);
@@ -113,11 +113,11 @@ static int bcm2835_pm_probe(struct platform_device *pdev)
}
static const struct of_device_id bcm2835_pm_of_match[] = {
- { .compatible = "brcm,bcm2835-pm-wdt", },
+ { .compatible = "brcm,bcm2835-pm-wdt" },
{ .compatible = "brcm,bcm2835-pm", .data = (void *)BCM2835_PM_SOC_BCM2835 },
{ .compatible = "brcm,bcm2711-pm", .data = (void *)BCM2835_PM_SOC_BCM2711 },
{ .compatible = "brcm,bcm2712-pm", .data = (void *)BCM2835_PM_SOC_BCM2712 },
- {},
+ { }
};
MODULE_DEVICE_TABLE(of, bcm2835_pm_of_match);
@@ -261,8 +261,8 @@ static int bd9571mwv_probe(struct i2c_client *client)
}
static const struct of_device_id bd9571mwv_of_match_table[] = {
- { .compatible = "rohm,bd9571mwv", },
- { .compatible = "rohm,bd9574mwf", },
+ { .compatible = "rohm,bd9571mwv" },
+ { .compatible = "rohm,bd9574mwf" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, bd9571mwv_of_match_table);
@@ -128,7 +128,7 @@ MODULE_DEVICE_TABLE(i2c, bq257xx_i2c_ids);
static const struct of_device_id bq257xx_of_match[] = {
{ .compatible = "ti,bq25703a", .data = (void *)BQ25703A },
{ .compatible = "ti,bq25792", .data = (void *)BQ25792 },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, bq257xx_of_match);
@@ -47,7 +47,7 @@ MODULE_DEVICE_TABLE(i2c, cs40l50_id_i2c);
static const struct of_device_id cs40l50_of_match[] = {
{ .compatible = "cirrus,cs40l50" },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, cs40l50_of_match);
@@ -47,7 +47,7 @@ MODULE_DEVICE_TABLE(spi, cs40l50_id_spi);
static const struct of_device_id cs40l50_of_match[] = {
{ .compatible = "cirrus,cs40l50" },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, cs40l50_of_match);
@@ -58,7 +58,7 @@ static int cs42l43_i2c_probe(struct i2c_client *i2c)
static const struct of_device_id cs42l43_of_match[] = {
{ .compatible = "cirrus,cs42l43", .data = (void *)CS42L43_DEVID_VAL },
{ .compatible = "cirrus,cs42l43b", .data = (void *)CS42L43B_DEVID_VAL },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, cs42l43_of_match);
#endif
@@ -361,11 +361,12 @@ static struct regmap_config da9063_regmap_config = {
};
static const struct of_device_id da9063_dt_ids[] = {
- { .compatible = "dlg,da9063", },
- { .compatible = "dlg,da9063l", },
+ { .compatible = "dlg,da9063" },
+ { .compatible = "dlg,da9063l" },
{ }
};
MODULE_DEVICE_TABLE(of, da9063_dt_ids);
+
static int da9063_i2c_probe(struct i2c_client *i2c)
{
const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
@@ -500,7 +500,7 @@ static const struct i2c_device_id da9150_i2c_id[] = {
MODULE_DEVICE_TABLE(i2c, da9150_i2c_id);
static const struct of_device_id da9150_of_match[] = {
- { .compatible = "dlg,da9150", },
+ { .compatible = "dlg,da9150" },
{ }
};
MODULE_DEVICE_TABLE(of, da9150_of_match);
@@ -3073,8 +3073,8 @@ static int db8500_prcmu_probe(struct platform_device *pdev)
return err;
}
static const struct of_device_id db8500_prcmu_match[] = {
- { .compatible = "stericsson,db8500-prcmu"},
- { },
+ { .compatible = "stericsson,db8500-prcmu" },
+ { }
};
static struct platform_driver db8500_prcmu_driver = {
@@ -177,7 +177,7 @@ static const struct dev_pm_ops lpass_pm_ops = {
static const struct of_device_id exynos_lpass_of_match[] = {
{ .compatible = "samsung,exynos5433-lpass" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, exynos_lpass_of_match);
@@ -155,7 +155,7 @@ static struct attribute_group attr_group = {
};
static const struct of_device_id gsc_of_match[] = {
- { .compatible = "gw,gsc", },
+ { .compatible = "gw,gsc" },
{ }
};
MODULE_DEVICE_TABLE(of, gsc_of_match);
@@ -38,13 +38,13 @@ static const struct regmap_config hi6421_regmap_config = {
static const struct of_device_id of_hi6421_pmic_match[] = {
{
.compatible = "hisilicon,hi6421-pmic",
- .data = (void *)HI6421
+ .data = (void *)HI6421,
},
{
.compatible = "hisilicon,hi6421v530-pmic",
- .data = (void *)HI6421_V530
+ .data = (void *)HI6421_V530,
},
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, of_hi6421_pmic_match);
@@ -152,8 +152,8 @@ static void hi655x_pmic_remove(struct platform_device *pdev)
}
static const struct of_device_id hi655x_pmic_match[] = {
- { .compatible = "hisilicon,hi655x-pmic", },
- {},
+ { .compatible = "hisilicon,hi655x-pmic" },
+ { }
};
MODULE_DEVICE_TABLE(of, hi655x_pmic_match);
@@ -123,8 +123,8 @@ static int khadas_mcu_probe(struct i2c_client *client)
#ifdef CONFIG_OF
static const struct of_device_id khadas_mcu_of_match[] = {
- { .compatible = "khadas,mcu", },
- {},
+ { .compatible = "khadas,mcu" },
+ { }
};
MODULE_DEVICE_TABLE(of, khadas_mcu_of_match);
#endif
@@ -200,7 +200,7 @@ static struct lochnagar_config lochnagar_configs[] = {
static const struct of_device_id lochnagar_of_match[] = {
{ .compatible = "cirrus,lochnagar1", .data = &lochnagar_configs[0] },
{ .compatible = "cirrus,lochnagar2", .data = &lochnagar_configs[1] },
- {},
+ { }
};
static int lochnagar_wait_for_boot(struct regmap *regmap, unsigned int *id)
@@ -133,7 +133,7 @@ MODULE_DEVICE_TABLE(i2c, lp3943_ids);
#ifdef CONFIG_OF
static const struct of_device_id lp3943_of_match[] = {
- { .compatible = "ti,lp3943", },
+ { .compatible = "ti,lp3943" },
{ }
};
MODULE_DEVICE_TABLE(of, lp3943_of_match);
@@ -62,7 +62,7 @@ static int lp873x_probe(struct i2c_client *client)
static const struct of_device_id of_lp873x_match_table[] = {
{ .compatible = "ti,lp8733", },
{ .compatible = "ti,lp8732", },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, of_lp873x_match_table);
@@ -42,7 +42,7 @@ static const struct of_device_id of_lp87565_match_table[] = {
.compatible = "ti,lp87561-q1",
.data = (void *)LP87565_DEVICE_TYPE_LP87561_Q1,
},
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, of_lp87565_match_table);
@@ -485,7 +485,7 @@ static int apple_smc_probe(struct platform_device *pdev)
static const struct of_device_id apple_smc_of_match[] = {
{ .compatible = "apple,t8103-smc" },
{ .compatible = "apple,smc" },
- {},
+ { }
};
MODULE_DEVICE_TABLE(of, apple_smc_of_match);
@@ -381,7 +381,7 @@ const struct of_device_id madera_of_match[] = {
{ .compatible = "cirrus,cs47l92", .data = (void *)CS47L92 },
{ .compatible = "cirrus,cs47l93", .data = (void *)CS47L93 },
{ .compatible = "cirrus,wm1840", .data = (void *)WM1840 },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, madera_of_match);
EXPORT_SYMBOL_GPL(madera_of_match);
@@ -152,7 +152,7 @@ static int max7360_probe(struct i2c_client *client)
static const struct of_device_id max7360_dt_match[] = {
{ .compatible = "maxim,max7360" },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, max7360_dt_match);
@@ -153,7 +153,7 @@ static const struct of_device_id max77686_pmic_dt_match[] = {
.compatible = "maxim,max77802",
.data = (void *)TYPE_MAX77802,
},
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, max77686_pmic_dt_match);
@@ -134,7 +134,7 @@ static int max77714_probe(struct i2c_client *client)
static const struct of_device_id max77714_dt_match[] = {
{ .compatible = "maxim,max77714" },
- {},
+ { }
};
MODULE_DEVICE_TABLE(of, max77714_dt_match);
@@ -718,7 +718,7 @@ static const struct i2c_device_id max77759_i2c_id[] = {
MODULE_DEVICE_TABLE(i2c, max77759_i2c_id);
static const struct of_device_id max77759_of_id[] = {
- { .compatible = "maxim,max77759", },
+ { .compatible = "maxim,max77759" },
{ }
};
MODULE_DEVICE_TABLE(of, max77759_of_id);
@@ -164,8 +164,8 @@ static int max77843_probe(struct i2c_client *i2c)
}
static const struct of_device_id max77843_dt_match[] = {
- { .compatible = "maxim,max77843", },
- { },
+ { .compatible = "maxim,max77843" },
+ { }
};
static const struct i2c_device_id max77843_id[] = {
@@ -294,7 +294,7 @@ static void max8907_i2c_remove(struct i2c_client *i2c)
#ifdef CONFIG_OF
static const struct of_device_id max8907_of_match[] = {
{ .compatible = "maxim,max8907" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, max8907_of_match);
#endif
@@ -231,7 +231,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(max8925_pm_ops,
static const struct of_device_id max8925_dt_ids[] = {
{ .compatible = "maxim,max8925", },
- {},
+ { }
};
static struct i2c_driver max8925_driver = {
@@ -39,7 +39,7 @@ static const struct mfd_cell max8997_devs[] = {
#ifdef CONFIG_OF
static const struct of_device_id max8997_pmic_dt_match[] = {
{ .compatible = "maxim,max8997-pmic", .data = (void *)TYPE_MAX8997 },
- {},
+ { }
};
#endif
@@ -120,7 +120,7 @@ static const struct of_device_id max8998_dt_match[] = {
{ .compatible = "maxim,max8998", .data = (void *)TYPE_MAX8998 },
{ .compatible = "national,lp3974", .data = (void *)TYPE_LP3974 },
{ .compatible = "ti,lp3974", .data = (void *)TYPE_LP3974 },
- {},
+ { }
};
#endif
@@ -35,9 +35,9 @@ static const struct spi_device_id mc13xxx_device_id[] = {
MODULE_DEVICE_TABLE(spi, mc13xxx_device_id);
static const struct of_device_id mc13xxx_dt_ids[] = {
- { .compatible = "fsl,mc13783", .data = &mc13xxx_variant_mc13783, },
- { .compatible = "fsl,mc13892", .data = &mc13xxx_variant_mc13892, },
- { .compatible = "fsl,mc34708", .data = &mc13xxx_variant_mc34708, },
+ { .compatible = "fsl,mc13783", .data = &mc13xxx_variant_mc13783 },
+ { .compatible = "fsl,mc13892", .data = &mc13xxx_variant_mc13892 },
+ { .compatible = "fsl,mc34708", .data = &mc13xxx_variant_mc34708 },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, mc13xxx_dt_ids);
@@ -195,9 +195,9 @@ static int cpcap_init_irq(struct cpcap_ddata *cpcap)
}
static const struct of_device_id cpcap_of_match[] = {
- { .compatible = "motorola,cpcap", },
- { .compatible = "st,6556002", },
- {},
+ { .compatible = "motorola,cpcap" },
+ { .compatible = "st,6556002" },
+ { }
};
MODULE_DEVICE_TABLE(of, cpcap_of_match);
@@ -60,7 +60,7 @@ static int mp2629_probe(struct i2c_client *client)
}
static const struct of_device_id mp2629_of_match[] = {
- { .compatible = "mps,mp2629"},
+ { .compatible = "mps,mp2629" },
{ }
};
MODULE_DEVICE_TABLE(of, mp2629_of_match);
@@ -607,8 +607,8 @@ static int __maybe_unused mt6360_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(mt6360_pm_ops, mt6360_suspend, mt6360_resume);
static const struct of_device_id mt6360_of_id[] = {
- { .compatible = "mediatek,mt6360", },
- {},
+ { .compatible = "mediatek,mt6360" },
+ { }
};
MODULE_DEVICE_TABLE(of, mt6360_of_id);
@@ -294,7 +294,7 @@ static int mt6370_probe(struct i2c_client *i2c)
static const struct of_device_id mt6370_match_table[] = {
{ .compatible = "mediatek,mt6370" },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, mt6370_match_table);
@@ -117,8 +117,8 @@ static struct mfd_cell mx28_cells[] = {
};
static const struct of_device_id mxs_lradc_dt_ids[] = {
- { .compatible = "fsl,imx23-lradc", .data = (void *)IMX23_LRADC, },
- { .compatible = "fsl,imx28-lradc", .data = (void *)IMX28_LRADC, },
+ { .compatible = "fsl,imx23-lradc", .data = (void *)IMX23_LRADC },
+ { .compatible = "fsl,imx28-lradc", .data = (void *)IMX28_LRADC },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, mxs_lradc_dt_ids);
@@ -250,8 +250,8 @@ static void ntxec_remove(struct i2c_client *client)
}
static const struct of_device_id of_ntxec_match_table[] = {
- { .compatible = "netronix,ntxec", },
- {}
+ { .compatible = "netronix,ntxec" },
+ { }
};
MODULE_DEVICE_TABLE(of, of_ntxec_match_table);
@@ -516,8 +516,8 @@ static int usbhs_omap_get_dt_pdata(struct device *dev,
}
static const struct of_device_id usbhs_child_match_table[] = {
- { .compatible = "ti,ehci-omap", },
- { .compatible = "ti,ohci-omap3", },
+ { .compatible = "ti,ehci-omap" },
+ { .compatible = "ti,ohci-omap3" },
{ }
};
@@ -261,8 +261,8 @@ static int pm8008_probe(struct i2c_client *client)
}
static const struct of_device_id pm8008_match[] = {
- { .compatible = "qcom,pm8008", },
- { },
+ { .compatible = "qcom,pm8008" },
+ { }
};
MODULE_DEVICE_TABLE(of, pm8008_match);
@@ -499,9 +499,9 @@ static const struct pm_irq_data pm8821_data = {
};
static const struct of_device_id pm8xxx_id_table[] = {
- { .compatible = "qcom,pm8058", .data = &pm8xxx_data},
- { .compatible = "qcom,pm8821", .data = &pm8821_data},
- { .compatible = "qcom,pm8921", .data = &pm8xxx_data},
+ { .compatible = "qcom,pm8058", .data = &pm8xxx_data },
+ { .compatible = "qcom,pm8821", .data = &pm8821_data },
+ { .compatible = "qcom,pm8921", .data = &pm8xxx_data },
{ }
};
MODULE_DEVICE_TABLE(of, pm8xxx_id_table);
@@ -262,7 +262,7 @@ static const struct of_device_id rk8xx_i2c_of_match[] = {
{ .compatible = "rockchip,rk816", .data = &rk816_data },
{ .compatible = "rockchip,rk817", .data = &rk817_data },
{ .compatible = "rockchip,rk818", .data = &rk818_data },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, rk8xx_i2c_of_match);
@@ -1127,8 +1127,8 @@ static const struct of_device_id bd71828_of_match[] = {
}, {
.compatible = "rohm,bd72720",
.data = (void *)ROHM_CHIP_TYPE_BD72720,
- },
- { },
+ },
+ { }
};
MODULE_DEVICE_TABLE(of, bd71828_of_match);
@@ -167,9 +167,9 @@ static int bd957x_i2c_probe(struct i2c_client *i2c)
}
static const struct of_device_id bd957x_of_match[] = {
- { .compatible = "rohm,bd9576", .data = (void *)ROHM_CHIP_TYPE_BD9576, },
- { .compatible = "rohm,bd9573", .data = (void *)ROHM_CHIP_TYPE_BD9573, },
- { },
+ { .compatible = "rohm,bd9576", .data = (void *)ROHM_CHIP_TYPE_BD9576 },
+ { .compatible = "rohm,bd9573", .data = (void *)ROHM_CHIP_TYPE_BD9573 },
+ { }
};
MODULE_DEVICE_TABLE(of, bd957x_of_match);
@@ -347,7 +347,7 @@ static const struct of_device_id rsmu_i2c_of_match[] = {
{ .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE },
{ .compatible = "idt,8v19n850", .data = (void *)RSMU_SL },
{ .compatible = "idt,8v19n851", .data = (void *)RSMU_SL },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match);
@@ -99,8 +99,8 @@ static void rt4831_remove(struct i2c_client *client)
}
static const struct of_device_id rt4831_of_match[] = {
- { .compatible = "richtek,rt4831", },
- {}
+ { .compatible = "richtek,rt4831" },
+ { }
};
MODULE_DEVICE_TABLE(of, rt4831_of_match);
@@ -113,7 +113,7 @@ static const struct i2c_device_id rt5033_i2c_id[] = {
MODULE_DEVICE_TABLE(i2c, rt5033_i2c_id);
static const struct of_device_id rt5033_dt_match[] = {
- { .compatible = "richtek,rt5033", },
+ { .compatible = "richtek,rt5033" },
{ }
};
MODULE_DEVICE_TABLE(of, rt5033_dt_match);
@@ -352,7 +352,7 @@ static int rz_mtu3_probe(struct platform_device *pdev)
}
static const struct of_device_id rz_mtu3_of_match[] = {
- { .compatible = "renesas,rz-mtu3", },
+ { .compatible = "renesas,rz-mtu3" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, rz_mtu3_of_match);
@@ -560,9 +560,9 @@ static const struct sec_pmic_acpm_platform_data s2mpg11_data = {
};
static const struct of_device_id sec_pmic_acpm_of_match[] = {
- { .compatible = "samsung,s2mpg10-pmic", .data = &s2mpg10_data, },
- { .compatible = "samsung,s2mpg11-pmic", .data = &s2mpg11_data, },
- { },
+ { .compatible = "samsung,s2mpg10-pmic", .data = &s2mpg10_data },
+ { .compatible = "samsung,s2mpg11-pmic", .data = &s2mpg11_data },
+ { }
};
MODULE_DEVICE_TABLE(of, sec_pmic_acpm_of_match);
@@ -236,17 +236,17 @@ static const struct sec_pmic_i2c_platform_data s5m8767_data = {
};
static const struct of_device_id sec_pmic_i2c_of_match[] = {
- { .compatible = "samsung,s2dos05", .data = &s2dos05_data, },
- { .compatible = "samsung,s2mpa01-pmic", .data = &s2mpa01_data, },
- { .compatible = "samsung,s2mps11-pmic", .data = &s2mps11_data, },
- { .compatible = "samsung,s2mps13-pmic", .data = &s2mps13_data, },
- { .compatible = "samsung,s2mps14-pmic", .data = &s2mps14_data, },
- { .compatible = "samsung,s2mps15-pmic", .data = &s2mps15_data, },
- { .compatible = "samsung,s2mpu02-pmic", .data = &s2mpu02_data, },
- { .compatible = "samsung,s2mpu05-pmic", .data = &s2mpu05_data, },
- { .compatible = "samsung,s2mu005-pmic", .data = &s2mu005_data, },
- { .compatible = "samsung,s5m8767-pmic", .data = &s5m8767_data, },
- { },
+ { .compatible = "samsung,s2dos05", .data = &s2dos05_data },
+ { .compatible = "samsung,s2mpa01-pmic", .data = &s2mpa01_data },
+ { .compatible = "samsung,s2mps11-pmic", .data = &s2mps11_data },
+ { .compatible = "samsung,s2mps13-pmic", .data = &s2mps13_data },
+ { .compatible = "samsung,s2mps14-pmic", .data = &s2mps14_data },
+ { .compatible = "samsung,s2mps15-pmic", .data = &s2mps15_data },
+ { .compatible = "samsung,s2mpu02-pmic", .data = &s2mpu02_data },
+ { .compatible = "samsung,s2mpu05-pmic", .data = &s2mpu05_data },
+ { .compatible = "samsung,s2mu005-pmic", .data = &s2mu005_data },
+ { .compatible = "samsung,s5m8767-pmic", .data = &s5m8767_data },
+ { }
};
MODULE_DEVICE_TABLE(of, sec_pmic_i2c_of_match);
@@ -126,7 +126,7 @@ static const struct of_device_id simple_mfd_i2c_of_match[] = {
{ .compatible = "maxim,max77705-battery", .data = &maxim_mon_max77705 },
{ .compatible = "silergy,sy7636a", .data = &silergy_sy7636a },
{ .compatible = "spacemit,p1", .data = &spacemit_p1 },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
@@ -66,7 +66,7 @@ MODULE_DEVICE_TABLE(i2c, sky81452_ids);
#ifdef CONFIG_OF
static const struct of_device_id sky81452_of_match[] = {
- { .compatible = "skyworks,sky81452", },
+ { .compatible = "skyworks,sky81452" },
{ }
};
MODULE_DEVICE_TABLE(of, sky81452_of_match);
@@ -1656,7 +1656,7 @@ static struct pci_driver sm501_pci_driver = {
MODULE_ALIAS("platform:sm501");
static const struct of_device_id of_sm501_match_tbl[] = {
- { .compatible = "smi,sm501", },
+ { .compatible = "smi,sm501" },
{ /* end */ }
};
MODULE_DEVICE_TABLE(of, of_sm501_match_tbl);
@@ -120,7 +120,7 @@ static int smpro_core_probe(struct i2c_client *i2c)
static const struct of_device_id smpro_core_of_match[] = {
{ .compatible = "ampere,smpro", .data = &smpro_regmap_config },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, smpro_core_of_match);
@@ -287,7 +287,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(sprd_pmic_pm_ops,
static const struct of_device_id sprd_pmic_match[] = {
{ .compatible = "sprd,sc2730", .data = (void *)PMIC_TYPE_SC2730 },
{ .compatible = "sprd,sc2731", .data = (void *)PMIC_TYPE_SC2731 },
- {},
+ { }
};
MODULE_DEVICE_TABLE(of, sprd_pmic_match);
@@ -306,7 +306,7 @@ static int ssbi_probe(struct platform_device *pdev)
static const struct of_device_id ssbi_match_table[] = {
{ .compatible = "qcom,ssbi" },
- {}
+ { }
};
MODULE_DEVICE_TABLE(of, ssbi_match_table);
@@ -113,8 +113,8 @@ static int stm32_lptimer_probe(struct platform_device *pdev)
}
static const struct of_device_id stm32_lptimer_of_match[] = {
- { .compatible = "st,stm32-lptimer", },
- {},
+ { .compatible = "st,stm32-lptimer" },
+ { }
};
MODULE_DEVICE_TABLE(of, stm32_lptimer_of_match);
@@ -348,9 +348,9 @@ static void stm32_timers_remove(struct platform_device *pdev)
}
static const struct of_device_id stm32_timers_of_match[] = {
- { .compatible = "st,stm32-timers", },
+ { .compatible = "st,stm32-timers" },
{ .compatible = "st,stm32mp25-timers", .data = (void *)STM32MP25_TIM_IPIDR },
- { /* end node */ },
+ { /* end node */ }
};
MODULE_DEVICE_TABLE(of, stm32_timers_of_match);
@@ -540,8 +540,8 @@ static int stmfx_resume(struct device *dev)
static DEFINE_SIMPLE_DEV_PM_OPS(stmfx_dev_pm_ops, stmfx_suspend, stmfx_resume);
static const struct of_device_id stmfx_of_match[] = {
- { .compatible = "st,stmfx-0300", },
- {},
+ { .compatible = "st,stmfx-0300" },
+ { }
};
MODULE_DEVICE_TABLE(of, stmfx_of_match);
@@ -54,15 +54,15 @@ static struct stmpe_client_info i2c_ci = {
};
static const struct of_device_id stmpe_of_match[] = {
- { .compatible = "st,stmpe610", .data = (void *)STMPE610, },
- { .compatible = "st,stmpe801", .data = (void *)STMPE801, },
- { .compatible = "st,stmpe811", .data = (void *)STMPE811, },
- { .compatible = "st,stmpe1600", .data = (void *)STMPE1600, },
- { .compatible = "st,stmpe1601", .data = (void *)STMPE1601, },
- { .compatible = "st,stmpe1801", .data = (void *)STMPE1801, },
- { .compatible = "st,stmpe2401", .data = (void *)STMPE2401, },
- { .compatible = "st,stmpe2403", .data = (void *)STMPE2403, },
- {},
+ { .compatible = "st,stmpe610", .data = (void *)STMPE610 },
+ { .compatible = "st,stmpe801", .data = (void *)STMPE801 },
+ { .compatible = "st,stmpe811", .data = (void *)STMPE811 },
+ { .compatible = "st,stmpe1600", .data = (void *)STMPE1600 },
+ { .compatible = "st,stmpe1601", .data = (void *)STMPE1601 },
+ { .compatible = "st,stmpe1801", .data = (void *)STMPE1801 },
+ { .compatible = "st,stmpe2401", .data = (void *)STMPE2401},
+ { .compatible = "st,stmpe2403", .data = (void *)STMPE2403 },
+ { }
};
MODULE_DEVICE_TABLE(of, stmpe_of_match);
@@ -110,13 +110,13 @@ static void stmpe_spi_remove(struct spi_device *spi)
}
static const struct of_device_id stmpe_spi_of_match[] = {
- { .compatible = "st,stmpe610", },
- { .compatible = "st,stmpe801", },
- { .compatible = "st,stmpe811", },
- { .compatible = "st,stmpe1601", },
- { .compatible = "st,stmpe2401", },
- { .compatible = "st,stmpe2403", },
- { /* sentinel */ },
+ { .compatible = "st,stmpe610" },
+ { .compatible = "st,stmpe801" },
+ { .compatible = "st,stmpe811" },
+ { .compatible = "st,stmpe1601" },
+ { .compatible = "st,stmpe2401" },
+ { .compatible = "st,stmpe2403" },
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, stmpe_spi_of_match);
@@ -228,9 +228,9 @@ static const struct i2c_device_id stw481x_id[] = {
MODULE_DEVICE_TABLE(i2c, stw481x_id);
static const struct of_device_id stw481x_match[] = {
- { .compatible = "st,stw4810", },
- { .compatible = "st,stw4811", },
- { },
+ { .compatible = "st,stw4810" },
+ { .compatible = "st,stw4811" },
+ { }
};
MODULE_DEVICE_TABLE(of, stw481x_match);
@@ -122,7 +122,7 @@ static const struct of_device_id sun6i_prcm_dt_ids[] = {
.compatible = "allwinner,sun8i-a23-prcm",
.data = &sun8i_a23_prcm_data,
},
- { /* sentinel */ },
+ { /* sentinel */ }
};
static int sun6i_prcm_probe(struct platform_device *pdev)
@@ -200,7 +200,7 @@ MODULE_DEVICE_TABLE(i2c, tps6105x_id);
static const struct of_device_id tps6105x_of_match[] = {
{ .compatible = "ti,tps61050" },
{ .compatible = "ti,tps61052" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, tps6105x_of_match);
@@ -110,8 +110,8 @@ MODULE_DEVICE_TABLE(i2c, tps6507x_i2c_id);
#ifdef CONFIG_OF
static const struct of_device_id tps6507x_of_match[] = {
- {.compatible = "ti,tps6507x", },
- {},
+ { .compatible = "ti,tps6507x" },
+ {}
};
MODULE_DEVICE_TABLE(of, tps6507x_of_match);
#endif
@@ -57,7 +57,7 @@ static const struct regmap_irq_chip tps65086_irq_chip = {
};
static const struct of_device_id tps65086_of_match_table[] = {
- { .compatible = "ti,tps65086", },
+ { .compatible = "ti,tps65086" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, tps65086_of_match_table);
@@ -157,8 +157,8 @@ static const struct regmap_config tps65090_regmap_config = {
#ifdef CONFIG_OF
static const struct of_device_id tps65090_of_match[] = {
- { .compatible = "ti,tps65090",},
- {},
+ { .compatible = "ti,tps65090" },
+ { }
};
#endif
@@ -302,8 +302,8 @@ static const struct regmap_config tps65217_regmap_config = {
};
static const struct of_device_id tps65217_of_match[] = {
- { .compatible = "ti,tps65217"},
- { /* sentinel */ },
+ { .compatible = "ti,tps65217" },
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, tps65217_of_match);
@@ -197,8 +197,8 @@ static const struct regmap_irq_chip tps65218_irq_chip = {
};
static const struct of_device_id of_tps65218_match_table[] = {
- { .compatible = "ti,tps65218", },
- {}
+ { .compatible = "ti,tps65218" },
+ { }
};
MODULE_DEVICE_TABLE(of, of_tps65218_match_table);
@@ -554,10 +554,10 @@ static int tps65219_probe(struct i2c_client *client)
}
static const struct of_device_id of_tps65219_match_table[] = {
- { .compatible = "ti,tps65214", .data = (void *)TPS65214, },
- { .compatible = "ti,tps65215", .data = (void *)TPS65215, },
- { .compatible = "ti,tps65219", .data = (void *)TPS65219, },
- {}
+ { .compatible = "ti,tps65214", .data = (void *)TPS65214 },
+ { .compatible = "ti,tps65215", .data = (void *)TPS65215 },
+ { .compatible = "ti,tps65219", .data = (void *)TPS65219 },
+ { }
};
MODULE_DEVICE_TABLE(of, of_tps65219_match_table);
@@ -432,8 +432,8 @@ static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *clien
}
static const struct of_device_id tps6586x_of_match[] = {
- { .compatible = "ti,tps6586x", },
- { },
+ { .compatible = "ti,tps6586x" },
+ { }
};
#else
static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *client)
@@ -366,9 +366,9 @@ static int tps65910_sleepinit(struct tps65910 *tps65910,
#ifdef CONFIG_OF
static const struct of_device_id tps65910_of_match[] = {
- { .compatible = "ti,tps65910", .data = (void *)TPS65910},
- { .compatible = "ti,tps65911", .data = (void *)TPS65911},
- { },
+ { .compatible = "ti,tps65910", .data = (void *)TPS65910 },
+ { .compatible = "ti,tps65911", .data = (void *)TPS65911 },
+ { }
};
static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
@@ -16,7 +16,7 @@
#include <linux/mfd/tps65912.h>
static const struct of_device_id tps65912_i2c_of_match_table[] = {
- { .compatible = "ti,tps65912", },
+ { .compatible = "ti,tps65912" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, tps65912_i2c_of_match_table);
@@ -16,7 +16,7 @@
#include <linux/mfd/tps65912.h>
static const struct of_device_id tps65912_spi_of_match_table[] = {
- { .compatible = "ti,tps65912", },
+ { .compatible = "ti,tps65912" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, tps65912_spi_of_match_table);
@@ -197,12 +197,12 @@ static struct regmap_config tps6594_i2c_regmap_config = {
};
static const struct of_device_id tps6594_i2c_of_match_table[] = {
- { .compatible = "ti,tps6594-q1", .data = (void *)TPS6594, },
- { .compatible = "ti,tps6593-q1", .data = (void *)TPS6593, },
- { .compatible = "ti,lp8764-q1", .data = (void *)LP8764, },
- { .compatible = "ti,tps65224-q1", .data = (void *)TPS65224, },
- { .compatible = "ti,tps652g1", .data = (void *)TPS652G1, },
- {}
+ { .compatible = "ti,tps6594-q1", .data = (void *)TPS6594 },
+ { .compatible = "ti,tps6593-q1", .data = (void *)TPS6593 },
+ { .compatible = "ti,lp8764-q1", .data = (void *)LP8764 },
+ { .compatible = "ti,tps65224-q1", .data = (void *)TPS65224 },
+ { .compatible = "ti,tps652g1", .data = (void *)TPS652G1 },
+ { }
};
MODULE_DEVICE_TABLE(of, tps6594_i2c_of_match_table);
@@ -82,12 +82,12 @@ static struct regmap_config tps6594_spi_regmap_config = {
};
static const struct of_device_id tps6594_spi_of_match_table[] = {
- { .compatible = "ti,tps6594-q1", .data = (void *)TPS6594, },
- { .compatible = "ti,tps6593-q1", .data = (void *)TPS6593, },
- { .compatible = "ti,lp8764-q1", .data = (void *)LP8764, },
- { .compatible = "ti,tps65224-q1", .data = (void *)TPS65224, },
- { .compatible = "ti,tps652g1", .data = (void *)TPS652G1, },
- {}
+ { .compatible = "ti,tps6594-q1", .data = (void *)TPS6594 },
+ { .compatible = "ti,tps6593-q1", .data = (void *)TPS6593 },
+ { .compatible = "ti,lp8764-q1", .data = (void *)LP8764 },
+ { .compatible = "ti,tps65224-q1", .data = (void *)TPS65224 },
+ { .compatible = "ti,tps652g1", .data = (void *)TPS652G1 },
+ { }
};
MODULE_DEVICE_TABLE(of, tps6594_spi_of_match_table);
@@ -265,8 +265,8 @@ static void twl4030_audio_remove(struct platform_device *pdev)
}
static const struct of_device_id twl4030_audio_of_match[] = {
- {.compatible = "ti,twl4030-audio", },
- { },
+ { .compatible = "ti,twl4030-audio" },
+ { }
};
MODULE_DEVICE_TABLE(of, twl4030_audio_of_match);
@@ -875,7 +875,7 @@ static const struct of_device_id twl4030_power_of_match[] = {
.compatible = "ti,twl4030-power-omap3-evm",
.data = &omap3_idle_ac_quirk,
},
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, twl4030_power_of_match);
#endif /* CONFIG_OF */
@@ -285,7 +285,7 @@ static const struct irq_domain_ops twl6030_irq_domain_ops = {
static const struct of_device_id twl6030_of_match[] __maybe_unused = {
{ .compatible = "ti,twl6030", .data = &twl6030_interrupt_mapping },
{ .compatible = "ti,twl6032", .data = &twl6032_interrupt_mapping },
- { },
+ { }
};
int twl6030_init_irq(struct device *dev, int irq_num)
@@ -142,8 +142,8 @@ static int vexpress_sysreg_probe(struct platform_device *pdev)
}
static const struct of_device_id vexpress_sysreg_match[] = {
- { .compatible = "arm,vexpress-sysreg", },
- {},
+ { .compatible = "arm,vexpress-sysreg" },
+ { }
};
MODULE_DEVICE_TABLE(of, vexpress_sysreg_match);
@@ -1445,7 +1445,7 @@ const struct of_device_id wm831x_of_match[] = {
{ .compatible = "wlf,wm8321", .data = (void *)WM8321 },
{ .compatible = "wlf,wm8325", .data = (void *)WM8325 },
{ .compatible = "wlf,wm8326", .data = (void *)WM8326 },
- { },
+ { }
};
EXPORT_SYMBOL_GPL(wm831x_of_match);