Commit be4b08cc authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

usb: host: ehci-omap: Remove redundant use of of_match_ptr

'omap_ehci_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d6bec48b
...@@ -294,7 +294,7 @@ static struct platform_driver ehci_hcd_omap_driver = { ...@@ -294,7 +294,7 @@ static struct platform_driver ehci_hcd_omap_driver = {
/*.resume = ehci_hcd_omap_resume, */ /*.resume = ehci_hcd_omap_resume, */
.driver = { .driver = {
.name = hcd_name, .name = hcd_name,
.of_match_table = of_match_ptr(omap_ehci_dt_ids), .of_match_table = omap_ehci_dt_ids,
} }
}; };
......
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