提交 becbca13 编写于 作者: S Sachin Kamat 提交者: Thierry Reding

pwm: imx: Remove redundant of_match_ptr

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
上级 3cb3b2bf
...@@ -297,7 +297,7 @@ static struct platform_driver imx_pwm_driver = { ...@@ -297,7 +297,7 @@ static struct platform_driver imx_pwm_driver = {
.driver = { .driver = {
.name = "imx-pwm", .name = "imx-pwm",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(imx_pwm_dt_ids), .of_match_table = imx_pwm_dt_ids,
}, },
.probe = imx_pwm_probe, .probe = imx_pwm_probe,
.remove = imx_pwm_remove, .remove = imx_pwm_remove,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册