From: Sachin Kamat Date: Tue, 21 May 2013 11:47:19 +0000 (+0530) Subject: usb: host: ohci-omap3: Remove redundant use of of_match_ptr X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd;p=deliverable%2Flinux.git usb: host: ohci-omap3: Remove redundant use of of_match_ptr 'omap_ohci_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/ohci-omap3.c b/drivers/usb/host/ohci-omap3.c index ddfc31427bc0..08e811d438f3 100644 --- a/drivers/usb/host/ohci-omap3.c +++ b/drivers/usb/host/ohci-omap3.c @@ -252,7 +252,7 @@ static struct platform_driver ohci_hcd_omap3_driver = { .shutdown = ohci_hcd_omap3_shutdown, .driver = { .name = "ohci-omap3", - .of_match_table = of_match_ptr(omap_ohci_dt_ids), + .of_match_table = omap_ohci_dt_ids, }, };