Commit 3cb3b2bf authored by Sachin Kamat's avatar Sachin Kamat Committed by Thierry Reding

pwm: lpc32xx: 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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Cc: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent de02cb88
...@@ -169,7 +169,7 @@ static struct platform_driver lpc32xx_pwm_driver = { ...@@ -169,7 +169,7 @@ static struct platform_driver lpc32xx_pwm_driver = {
.driver = { .driver = {
.name = "lpc32xx-pwm", .name = "lpc32xx-pwm",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(lpc32xx_pwm_dt_ids), .of_match_table = lpc32xx_pwm_dt_ids,
}, },
.probe = lpc32xx_pwm_probe, .probe = lpc32xx_pwm_probe,
.remove = lpc32xx_pwm_remove, .remove = lpc32xx_pwm_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment