]> Git Repo - linux.git/commitdiff
pwm: omap-dmtimer: Remove redundant of_match_ptr()
authorRuan Jinjie <[email protected]>
Thu, 10 Aug 2023 07:42:58 +0000 (15:42 +0800)
committerThierry Reding <[email protected]>
Fri, 6 Oct 2023 08:37:28 +0000 (10:37 +0200)
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
drivers/pwm/pwm-omap-dmtimer.c

index 4889fbd8a4311afd33c9df8d6b5c1a991562176d..94faa4650686672f27eed1252c051e6ef7744d09 100644 (file)
@@ -466,7 +466,7 @@ MODULE_DEVICE_TABLE(of, pwm_omap_dmtimer_of_match);
 static struct platform_driver pwm_omap_dmtimer_driver = {
        .driver = {
                .name = "omap-dmtimer-pwm",
-               .of_match_table = of_match_ptr(pwm_omap_dmtimer_of_match),
+               .of_match_table = pwm_omap_dmtimer_of_match,
        },
        .probe = pwm_omap_dmtimer_probe,
        .remove_new = pwm_omap_dmtimer_remove,
This page took 0.056552 seconds and 4 git commands to generate.