提交 7a1cc240 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

usb: host: ohci-omap3: Remove redundant use of of_match_ptr

'omap_ohci_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Acked-by: NAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a703d7e2
......@@ -252,7 +252,7 @@ static struct platform_driver ohci_hcd_omap3_driver = {
.shutdown = ohci_hcd_omap3_shutdown,
.driver = {
.name = "ohci-omap3",
.of_match_table = of_match_ptr(omap_ohci_dt_ids),
.of_match_table = omap_ohci_dt_ids,
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册