From: Sachin Kamat Date: Tue, 21 May 2013 11:47:15 +0000 (+0530) Subject: usb: host: ehci-omap: Remove redundant use of of_match_ptr X-Git-Tag: firefly_0821_release~176^2~5847^2~107 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=be4b08ccfbd0faa7f92398213b2d3783389dc358;p=firefly-linux-kernel-4.4.55.git 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: Sachin Kamat Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 3d1491b5f360..d3582fdfb34c 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -294,7 +294,7 @@ static struct platform_driver ehci_hcd_omap_driver = { /*.resume = ehci_hcd_omap_resume, */ .driver = { .name = hcd_name, - .of_match_table = of_match_ptr(omap_ehci_dt_ids), + .of_match_table = omap_ehci_dt_ids, } };