pwm: Unify coding style of of_device_id arrays

- Use a single space in a of_device_id array terminator; A single space
   after the opening { and before the closing } in non-empty
   initializers;
 - No comma after an array terminator;
 - Also no trailing comma after a named initializer if (and only if) the
   closing } is on the same line;

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> # renesas
Reviewed-by: Chen Wang <chen.wang@linux.dev>
Link: https://patch.msgid.link/20de6cd60c2938aad2d21397b92742849418ab1b.1783263835.git.ukleinek@kernel.org
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
This commit is contained in:
Uwe Kleine-König (The Capable Hub) 2026-07-05 17:14:16 +02:00 committed by Uwe Kleine-König
parent 8dd1524f69
commit eff04f2a6b
51 changed files with 87 additions and 93 deletions

View File

@ -142,7 +142,7 @@ static int apple_pwm_probe(struct platform_device *pdev)
static const struct of_device_id apple_pwm_of_match[] = {
{ .compatible = "apple,s5l-fpwm" },
{}
{ }
};
MODULE_DEVICE_TABLE(of, apple_pwm_of_match);

View File

@ -89,7 +89,7 @@ static int argon_fan_hat_i2c_probe(struct i2c_client *i2c)
static const struct of_device_id argon_fan_hat_dt_ids[] = {
{ .compatible = "argon40,fan-hat" },
{ },
{ }
};
MODULE_DEVICE_TABLE(of, argon_fan_hat_dt_ids);

View File

@ -217,23 +217,20 @@ static const struct of_device_id atmel_hlcdc_dt_ids[] = {
.compatible = "atmel,at91sam9n12-hlcdc",
/* 9n12 has same errata as 9x5 HLCDC PWM */
.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
},
{
}, {
.compatible = "atmel,at91sam9x5-hlcdc",
.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
},
{
}, {
.compatible = "atmel,sama5d2-hlcdc",
},
{
}, {
.compatible = "atmel,sama5d3-hlcdc",
.data = &atmel_hlcdc_pwm_sama5d3_errata,
},
{
}, {
.compatible = "atmel,sama5d4-hlcdc",
.data = &atmel_hlcdc_pwm_sama5d3_errata,
}, {
.compatible = "microchip,sam9x60-hlcdc",
},
{ .compatible = "microchip,sam9x60-hlcdc", },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, atmel_hlcdc_dt_ids);

View File

@ -374,9 +374,9 @@ static struct atmel_tcb_config tcb_sama5d2_config = {
};
static const struct of_device_id atmel_tcb_of_match[] = {
{ .compatible = "atmel,at91rm9200-tcb", .data = &tcb_rm9200_config, },
{ .compatible = "atmel,at91sam9x5-tcb", .data = &tcb_sam9x5_config, },
{ .compatible = "atmel,sama5d2-tcb", .data = &tcb_sama5d2_config, },
{ .compatible = "atmel,at91rm9200-tcb", .data = &tcb_rm9200_config },
{ .compatible = "atmel,at91sam9x5-tcb", .data = &tcb_sam9x5_config },
{ .compatible = "atmel,sama5d2-tcb", .data = &tcb_sama5d2_config },
{ /* sentinel */ }
};

View File

@ -441,9 +441,8 @@ static const struct of_device_id atmel_pwm_dt_ids[] = {
}, {
.compatible = "microchip,sam9x60-pwm",
.data = &mchp_sam9x60_pwm_data,
}, {
/* sentinel */
},
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, atmel_pwm_dt_ids);

View File

@ -230,7 +230,7 @@ static int iproc_pwmc_probe(struct platform_device *pdev)
static const struct of_device_id bcm_iproc_pwmc_dt[] = {
{ .compatible = "brcm,iproc-pwm" },
{ },
{ }
};
MODULE_DEVICE_TABLE(of, bcm_iproc_pwmc_dt);

View File

@ -319,7 +319,7 @@ static int kona_pwmc_probe(struct platform_device *pdev)
static const struct of_device_id bcm_kona_pwmc_dt[] = {
{ .compatible = "brcm,kona-pwm" },
{ },
{ }
};
MODULE_DEVICE_TABLE(of, bcm_kona_pwmc_dt);

View File

@ -165,7 +165,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(bcm2835_pwm_pm_ops, bcm2835_pwm_suspend,
bcm2835_pwm_resume);
static const struct of_device_id bcm2835_pwm_of_match[] = {
{ .compatible = "brcm,bcm2835-pwm", },
{ .compatible = "brcm,bcm2835-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, bcm2835_pwm_of_match);

View File

@ -191,7 +191,7 @@ static const struct pwm_ops berlin_pwm_ops = {
static const struct of_device_id berlin_pwm_match[] = {
{ .compatible = "marvell,berlin-pwm" },
{ },
{ }
};
MODULE_DEVICE_TABLE(of, berlin_pwm_match);

View File

@ -222,7 +222,7 @@ static const struct pwm_ops brcmstb_pwm_ops = {
};
static const struct of_device_id brcmstb_pwm_of_match[] = {
{ .compatible = "brcm,bcm7038-pwm", },
{ .compatible = "brcm,bcm7038-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, brcmstb_pwm_of_match);

View File

@ -119,7 +119,7 @@ static void pwm_clk_remove(struct platform_device *pdev)
}
static const struct of_device_id pwm_clk_dt_ids[] = {
{ .compatible = "clk-pwm", },
{ .compatible = "clk-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, pwm_clk_dt_ids);

View File

@ -91,7 +91,7 @@ static int clps711x_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id clps711x_pwm_dt_ids[] = {
{ .compatible = "cirrus,ep7209-pwm", },
{ .compatible = "cirrus,ep7209-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, clps711x_pwm_dt_ids);

View File

@ -267,7 +267,7 @@ static int cros_ec_pwm_probe(struct platform_device *pdev)
static const struct of_device_id cros_ec_pwm_of_match[] = {
{ .compatible = "google,cros-ec-pwm" },
{ .compatible = "google,cros-ec-pwm-type" },
{},
{ }
};
MODULE_DEVICE_TABLE(of, cros_ec_pwm_of_match);
#endif

View File

@ -266,7 +266,7 @@ static const struct of_device_id hibvt_pwm_of_match[] = {
.data = &hi3559v100_shub_soc_info },
{ .compatible = "hisilicon,hi3559v100-pwm",
.data = &hi3559v100_soc_info },
{ }
{ }
};
MODULE_DEVICE_TABLE(of, hibvt_pwm_of_match);

View File

@ -442,7 +442,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(imx_tpm_pwm_pm,
pwm_imx_tpm_suspend, pwm_imx_tpm_resume);
static const struct of_device_id imx_tpm_pwm_dt_ids[] = {
{ .compatible = "fsl,imx7ulp-pwm", },
{ .compatible = "fsl,imx7ulp-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx_tpm_pwm_dt_ids);

View File

@ -151,7 +151,7 @@ static const struct pwm_ops pwm_imx1_ops = {
};
static const struct of_device_id pwm_imx1_dt_ids[] = {
{ .compatible = "fsl,imx1-pwm", },
{ .compatible = "fsl,imx1-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, pwm_imx1_dt_ids);

View File

@ -378,7 +378,7 @@ static const struct pwm_ops pwm_imx27_ops = {
};
static const struct of_device_id pwm_imx27_dt_ids[] = {
{ .compatible = "fsl,imx27-pwm", },
{ .compatible = "fsl,imx27-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, pwm_imx27_dt_ids);

View File

@ -245,8 +245,8 @@ static int ipq_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id pwm_ipq_dt_match[] = {
{ .compatible = "qcom,ipq6018-pwm", },
{}
{ .compatible = "qcom,ipq6018-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, pwm_ipq_dt_match);

View File

@ -261,7 +261,7 @@ static const struct of_device_id jz4740_pwm_dt_ids[] = {
{ .compatible = "ingenic,jz4740-pwm", .data = &jz4740_soc_info },
{ .compatible = "ingenic,jz4725b-pwm", .data = &jz4725b_soc_info },
{ .compatible = "ingenic,x1000-pwm", .data = &x1000_soc_info },
{},
{ }
};
MODULE_DEVICE_TABLE(of, jz4740_pwm_dt_ids);

View File

@ -296,7 +296,7 @@ static int lp3943_pwm_probe(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id lp3943_pwm_of_match[] = {
{ .compatible = "ti,lp3943-pwm", },
{ .compatible = "ti,lp3943-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, lp3943_pwm_of_match);

View File

@ -330,7 +330,7 @@ static const struct pwm_ops lpc18xx_pwm_ops = {
static const struct of_device_id lpc18xx_pwm_of_match[] = {
{ .compatible = "nxp,lpc1850-sct-pwm" },
{}
{ }
};
MODULE_DEVICE_TABLE(of, lpc18xx_pwm_of_match);

View File

@ -155,7 +155,7 @@ static int lpc32xx_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id lpc32xx_pwm_dt_ids[] = {
{ .compatible = "nxp,lpc3220-pwm", },
{ .compatible = "nxp,lpc3220-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, lpc32xx_pwm_dt_ids);

View File

@ -627,7 +627,7 @@ static const struct of_device_id pwm_mediatek_of_match[] = {
{ .compatible = "mediatek,mt8183-pwm", .data = &mt8183_pwm_data },
{ .compatible = "mediatek,mt8365-pwm", .data = &mt8365_pwm_data },
{ .compatible = "mediatek,mt8516-pwm", .data = &mt8516_pwm_data },
{ },
{ }
};
MODULE_DEVICE_TABLE(of, pwm_mediatek_of_match);

View File

@ -596,15 +596,14 @@ static const struct of_device_id meson_pwm_matches[] = {
{
.compatible = "amlogic,meson8-pwm-v2",
.data = &pwm_meson8_v2_data
},
{
}, {
.compatible = "amlogic,meson-axg-pwm-v2",
.data = &pwm_meson_axg_v2_data
},
{
}, {
.compatible = "amlogic,meson-g12-pwm-v2",
.data = &pwm_meson_axg_v2_data
},
/* The following compatibles are obsolete */
{
.compatible = "amlogic,meson8b-pwm",
@ -642,7 +641,7 @@ static const struct of_device_id meson_pwm_matches[] = {
.compatible = "amlogic,meson-s4-pwm",
.data = &pwm_s4_data
},
{},
{ }
};
MODULE_DEVICE_TABLE(of, meson_pwm_matches);

View File

@ -295,10 +295,10 @@ static const struct mtk_pwm_data mt8183_pwm_data = {
};
static const struct of_device_id mtk_disp_pwm_of_match[] = {
{ .compatible = "mediatek,mt2701-disp-pwm", .data = &mt2701_pwm_data},
{ .compatible = "mediatek,mt6595-disp-pwm", .data = &mt8173_pwm_data},
{ .compatible = "mediatek,mt8173-disp-pwm", .data = &mt8173_pwm_data},
{ .compatible = "mediatek,mt8183-disp-pwm", .data = &mt8183_pwm_data},
{ .compatible = "mediatek,mt2701-disp-pwm", .data = &mt2701_pwm_data },
{ .compatible = "mediatek,mt6595-disp-pwm", .data = &mt8173_pwm_data },
{ .compatible = "mediatek,mt8173-disp-pwm", .data = &mt8173_pwm_data },
{ .compatible = "mediatek,mt8183-disp-pwm", .data = &mt8183_pwm_data },
{ }
};
MODULE_DEVICE_TABLE(of, mtk_disp_pwm_of_match);

View File

@ -163,7 +163,7 @@ static int mxs_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id mxs_pwm_dt_ids[] = {
{ .compatible = "fsl,imx23-pwm", },
{ .compatible = "fsl,imx23-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, mxs_pwm_dt_ids);

View File

@ -444,8 +444,8 @@ static void pwm_omap_dmtimer_remove(struct platform_device *pdev)
}
static const struct of_device_id pwm_omap_dmtimer_of_match[] = {
{.compatible = "ti,omap-dmtimer-pwm"},
{}
{ .compatible = "ti,omap-dmtimer-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, pwm_omap_dmtimer_of_match);

View File

@ -550,7 +550,7 @@ static const struct acpi_device_id pca9685_acpi_ids[] = {
MODULE_DEVICE_TABLE(acpi, pca9685_acpi_ids);
static const struct of_device_id pca9685_dt_ids[] = {
{ .compatible = "nxp,pca9685-pwm", },
{ .compatible = "nxp,pca9685-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, pca9685_dt_ids);

View File

@ -144,10 +144,10 @@ static const struct pwm_ops pxa_pwm_ops = {
* supported identically.
*/
static const struct of_device_id pwm_of_match[] = {
{ .compatible = "marvell,pxa250-pwm", .data = &pwm_id_table[0]},
{ .compatible = "marvell,pxa270-pwm", .data = &pwm_id_table[0]},
{ .compatible = "marvell,pxa168-pwm", .data = &pwm_id_table[0]},
{ .compatible = "marvell,pxa910-pwm", .data = &pwm_id_table[0]},
{ .compatible = "marvell,pxa250-pwm", .data = &pwm_id_table[0] },
{ .compatible = "marvell,pxa270-pwm", .data = &pwm_id_table[0] },
{ .compatible = "marvell,pxa168-pwm", .data = &pwm_id_table[0] },
{ .compatible = "marvell,pxa910-pwm", .data = &pwm_id_table[0] },
{ }
};
MODULE_DEVICE_TABLE(of, pwm_of_match);

View File

@ -177,7 +177,7 @@ static int raspberrypi_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id raspberrypi_pwm_of_match[] = {
{ .compatible = "raspberrypi,firmware-poe-pwm", },
{ .compatible = "raspberrypi,firmware-poe-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, raspberrypi_pwm_of_match);

View File

@ -248,8 +248,8 @@ static void rcar_pwm_remove(struct platform_device *pdev)
}
static const struct of_device_id rcar_pwm_of_table[] = {
{ .compatible = "renesas,pwm-rcar", },
{ },
{ .compatible = "renesas,pwm-rcar" },
{ }
};
MODULE_DEVICE_TABLE(of, rcar_pwm_of_table);

View File

@ -479,11 +479,11 @@ static int tpu_probe(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id tpu_of_table[] = {
{ .compatible = "renesas,tpu-r8a73a4", },
{ .compatible = "renesas,tpu-r8a7740", },
{ .compatible = "renesas,tpu-r8a7790", },
{ .compatible = "renesas,tpu", },
{ },
{ .compatible = "renesas,tpu-r8a73a4" },
{ .compatible = "renesas,tpu-r8a7740" },
{ .compatible = "renesas,tpu-r8a7790" },
{ .compatible = "renesas,tpu" },
{ }
};
MODULE_DEVICE_TABLE(of, tpu_of_table);

View File

@ -292,10 +292,10 @@ static const struct rockchip_pwm_data pwm_data_v3 = {
};
static const struct of_device_id rockchip_pwm_dt_ids[] = {
{ .compatible = "rockchip,rk2928-pwm", .data = &pwm_data_v1},
{ .compatible = "rockchip,rk3288-pwm", .data = &pwm_data_v2},
{ .compatible = "rockchip,vop-pwm", .data = &pwm_data_vop},
{ .compatible = "rockchip,rk3328-pwm", .data = &pwm_data_v3},
{ .compatible = "rockchip,rk2928-pwm", .data = &pwm_data_v1 },
{ .compatible = "rockchip,rk3288-pwm", .data = &pwm_data_v2 },
{ .compatible = "rockchip,vop-pwm", .data = &pwm_data_vop },
{ .compatible = "rockchip,rk3328-pwm", .data = &pwm_data_v3 },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, rockchip_pwm_dt_ids);

View File

@ -437,7 +437,7 @@ static int rzg2l_gpt_probe(struct platform_device *pdev)
}
static const struct of_device_id rzg2l_gpt_of_table[] = {
{ .compatible = "renesas,rzg2l-gpt", },
{ .compatible = "renesas,rzg2l-gpt" },
{ /* Sentinel */ }
};
MODULE_DEVICE_TABLE(of, rzg2l_gpt_of_table);

View File

@ -501,7 +501,7 @@ static const struct of_device_id samsung_pwm_matches[] = {
{ .compatible = "samsung,s5p6440-pwm", .data = &s5p64x0_variant },
{ .compatible = "samsung,s5pc100-pwm", .data = &s5pc100_variant },
{ .compatible = "samsung,exynos4210-pwm", .data = &s5p64x0_variant },
{},
{ }
};
MODULE_DEVICE_TABLE(of, samsung_pwm_matches);

View File

@ -356,7 +356,7 @@ static void pwm_sifive_remove(struct platform_device *dev)
static const struct of_device_id pwm_sifive_of_match[] = {
{ .compatible = "sifive,pwm0" },
{},
{ }
};
MODULE_DEVICE_TABLE(of, pwm_sifive_of_match);

View File

@ -245,7 +245,7 @@ static int sl28cpld_pwm_probe(struct platform_device *pdev)
static const struct of_device_id sl28cpld_pwm_of_match[] = {
{ .compatible = "kontron,sl28cpld-pwm" },
{}
{ }
};
MODULE_DEVICE_TABLE(of, sl28cpld_pwm_of_match);

View File

@ -225,11 +225,10 @@ static const struct sg2042_chip_data sg2044_chip_data = {
static const struct of_device_id sg2042_pwm_ids[] = {
{
.compatible = "sophgo,sg2042-pwm",
.data = &sg2042_chip_data
},
{
.data = &sg2042_chip_data,
}, {
.compatible = "sophgo,sg2044-pwm",
.data = &sg2044_chip_data
.data = &sg2044_chip_data,
},
{ }
};

View File

@ -277,8 +277,8 @@ static int sprd_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id sprd_pwm_of_match[] = {
{ .compatible = "sprd,ums512-pwm", },
{ },
{ .compatible = "sprd,ums512-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, sprd_pwm_of_match);

View File

@ -625,7 +625,7 @@ static int sti_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id sti_pwm_of_match[] = {
{ .compatible = "st,sti-pwm", },
{ .compatible = "st,sti-pwm" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, sti_pwm_of_match);

View File

@ -412,8 +412,8 @@ static DEFINE_SIMPLE_DEV_PM_OPS(stm32_pwm_lp_pm_ops, stm32_pwm_lp_suspend,
stm32_pwm_lp_resume);
static const struct of_device_id stm32_pwm_lp_of_match[] = {
{ .compatible = "st,stm32-pwm-lp", },
{},
{ .compatible = "st,stm32-pwm-lp" },
{ }
};
MODULE_DEVICE_TABLE(of, stm32_pwm_lp_of_match);

View File

@ -918,9 +918,9 @@ static int stm32_pwm_resume(struct device *dev)
static DEFINE_SIMPLE_DEV_PM_OPS(stm32_pwm_pm_ops, stm32_pwm_suspend, stm32_pwm_resume);
static const struct of_device_id stm32_pwm_of_match[] = {
{ .compatible = "st,stm32-pwm", },
{ .compatible = "st,stm32mp25-pwm", },
{ /* end node */ },
{ .compatible = "st,stm32-pwm" },
{ .compatible = "st,stm32mp25-pwm" },
{ /* end node */ }
};
MODULE_DEVICE_TABLE(of, stm32_pwm_of_match);

View File

@ -369,7 +369,7 @@ static const struct of_device_id sun4i_pwm_dt_ids[] = {
.data = &sun50i_h6_pwm_data,
}, {
/* sentinel */
},
}
};
MODULE_DEVICE_TABLE(of, sun4i_pwm_dt_ids);

View File

@ -214,8 +214,8 @@ static int sunplus_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id sunplus_pwm_of_match[] = {
{ .compatible = "sunplus,sp7021-pwm", },
{}
{ .compatible = "sunplus,sp7021-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, sunplus_pwm_of_match);

View File

@ -211,9 +211,9 @@ static const struct pwm_ops ecap_pwm_ops = {
};
static const struct of_device_id ecap_of_match[] = {
{ .compatible = "ti,am3352-ecap" },
{ .compatible = "ti,am33xx-ecap" },
{},
{ .compatible = "ti,am3352-ecap" },
{ .compatible = "ti,am33xx-ecap" },
{ }
};
MODULE_DEVICE_TABLE(of, ecap_of_match);

View File

@ -407,7 +407,7 @@ static const struct pwm_ops ehrpwm_pwm_ops = {
static const struct of_device_id ehrpwm_of_match[] = {
{ .compatible = "ti,am3352-ehrpwm" },
{ .compatible = "ti,am33xx-ehrpwm" },
{},
{ }
};
MODULE_DEVICE_TABLE(of, ehrpwm_of_match);

View File

@ -338,7 +338,7 @@ static int twl_pwmled_probe(struct platform_device *pdev)
static const struct of_device_id twl_pwmled_of_match[] = {
{ .compatible = "ti,twl4030-pwmled" },
{ .compatible = "ti,twl6030-pwmled" },
{ },
{ }
};
MODULE_DEVICE_TABLE(of, twl_pwmled_of_match);
#endif

View File

@ -362,7 +362,7 @@ static int twl_pwm_probe(struct platform_device *pdev)
static const struct of_device_id twl_pwm_of_match[] = {
{ .compatible = "ti,twl4030-pwm" },
{ .compatible = "ti,twl6030-pwm" },
{ },
{ }
};
MODULE_DEVICE_TABLE(of, twl_pwm_of_match);
#endif

View File

@ -156,7 +156,7 @@ static int visconti_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id visconti_pwm_of_match[] = {
{ .compatible = "toshiba,visconti-pwm", },
{ .compatible = "toshiba,visconti-pwm" },
{ }
};
MODULE_DEVICE_TABLE(of, visconti_pwm_of_match);

View File

@ -227,7 +227,7 @@ static const struct pwm_ops vt8500_pwm_ops = {
};
static const struct of_device_id vt8500_pwm_dt_ids[] = {
{ .compatible = "via,vt8500-pwm", },
{ .compatible = "via,vt8500-pwm" },
{ /* Sentinel */ }
};
MODULE_DEVICE_TABLE(of, vt8500_pwm_dt_ids);

View File

@ -281,8 +281,8 @@ static int xilinx_pwm_probe(struct platform_device *pdev)
}
static const struct of_device_id xilinx_pwm_of_match[] = {
{ .compatible = "xlnx,xps-timer-1.00.a", },
{},
{ .compatible = "xlnx,xps-timer-1.00.a" },
{ }
};
MODULE_DEVICE_TABLE(of, xilinx_pwm_of_match);