提交 5d689168 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

usb: host: uhci-platform: Remove redundant use of of_match_ptr

'platform_uhci_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Cc: Tony Prisk <linux@prisktech.co.nz>
Acked-by: NAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c0d6f0b4
......@@ -160,6 +160,6 @@ static struct platform_driver uhci_platform_driver = {
.driver = {
.name = "platform-uhci",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(platform_uhci_ids),
.of_match_table = platform_uhci_ids,
},
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册