diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-10 09:42:58 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-10-06 10:37:28 +0200 |
commit | 7818f0bcc195e7c49eaaa031f0c26c59978469f6 (patch) | |
tree | 9742f4b6eaf42ecc24d95648a6117ef0d7b164f1 /drivers/pwm | |
parent | pwm: atmel: Remove redundant of_match_ptr() (diff) | |
download | linux-7818f0bcc195e7c49eaaa031f0c26c59978469f6.tar.xz linux-7818f0bcc195e7c49eaaa031f0c26c59978469f6.zip |
pwm: omap-dmtimer: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/pwm-omap-dmtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-omap-dmtimer.c b/drivers/pwm/pwm-omap-dmtimer.c index 4889fbd8a431..94faa4650686 100644 --- a/drivers/pwm/pwm-omap-dmtimer.c +++ b/drivers/pwm/pwm-omap-dmtimer.c @@ -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, |