summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-platform.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-21 17:17:21 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 11:42:13 -0700
commit5d689168c1224faf52867458452ecf15885d00cf (patch)
treec7c8e484ef79827736902b174def6dd93405be40 /drivers/usb/host/uhci-platform.c
parentc0d6f0b42e0c008e2bcfe1f810ec4701a0dda2d7 (diff)
downloadblackbird-op-linux-5d689168c1224faf52867458452ecf15885d00cf.tar.gz
blackbird-op-linux-5d689168c1224faf52867458452ecf15885d00cf.zip
usb: host: uhci-platform: Remove redundant use of of_match_ptr
'platform_uhci_ids' is always compiled in. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Tony Prisk <linux@prisktech.co.nz> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/uhci-platform.c')
-rw-r--r--drivers/usb/host/uhci-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c
index 55cc1166a9ff..5382f3a8670d 100644
--- a/drivers/usb/host/uhci-platform.c
+++ b/drivers/usb/host/uhci-platform.c
@@ -160,6 +160,6 @@ static struct platform_driver uhci_platform_driver = {
.driver = {
.name = "platform-uhci",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(platform_uhci_ids),
+ .of_match_table = platform_uhci_ids,
},
};
OpenPOWER on IntegriCloud