From: Sachin Kamat Date: Tue, 21 May 2013 11:47:20 +0000 (+0530) Subject: usb: host: ohci-spear: Remove redundant use of of_match_ptr X-Git-Tag: firefly_0821_release~176^2~5847^2~102 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c0d6f0b42e0c008e2bcfe1f810ec4701a0dda2d7;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Viresh Kumar Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index 6f9a1dca7373..6a7cb1407326 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c @@ -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, }, };