mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 21:53:44 +00:00
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>
This commit is contained in:
parent
2992e07038
commit
7818f0bcc1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user