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

'spear_ohci_id_table' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Sachin Kamat 2013-05-21 17:17:20 +05:30 • committed by Greg Kroah-Hartman
commit c0d6f0b42e

View file

@ -230,7 +230,7 @@ static struct platform_driver spear_ohci_hcd_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "spear-ohci",
.of_match_table = of_match_ptr(spear_ohci_id_table),
.of_match_table = spear_ohci_id_table,
},
};