diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-21 17:17:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-21 11:42:13 -0700 |
commit | 7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd (patch) | |
tree | cc54904bc235622013583a5427c75c6ffcef357a /drivers/usb/host/ohci-omap3.c | |
parent | a703d7e279d072f2720d91d502f1a98356db3349 (diff) | |
download | blackbird-op-linux-7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd.tar.gz blackbird-op-linux-7a1cc240d2cf4583b5dc61ef8422dec9c5a040dd.zip |
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 <sachin.kamat@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-omap3.c')
-rw-r--r-- | drivers/usb/host/ohci-omap3.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }, }; |