From: Sachin Kamat Date: Tue, 21 May 2013 11:47:17 +0000 (+0530) Subject: usb: host: ehci-spear: Remove redundant use of of_match_ptr X-Git-Tag: firefly_0821_release~176^2~5847^2~105 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2c398f3e4a5f791ac7ce0d7a5fc963a7e067aa66;p=firefly-linux-kernel-4.4.55.git usb: host: ehci-spear: Remove redundant use of of_match_ptr 'spear_ehci_id_table' is always compiled in. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat Acked-by: Viresh Kumar Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index 61ecfb3d52f5..7c0a3566b0fe 100644 --- a/drivers/usb/host/ehci-spear.c +++ b/drivers/usb/host/ehci-spear.c @@ -174,7 +174,7 @@ static struct platform_driver spear_ehci_hcd_driver = { .name = "spear-ehci", .bus = &platform_bus_type, .pm = &ehci_spear_pm_ops, - .of_match_table = of_match_ptr(spear_ehci_id_table), + .of_match_table = spear_ehci_id_table, } };