diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-21 17:17:21 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-21 11:42:13 -0700 |
commit | 5d689168c1224faf52867458452ecf15885d00cf (patch) | |
tree | c7c8e484ef79827736902b174def6dd93405be40 | |
parent | c0d6f0b42e0c008e2bcfe1f810ec4701a0dda2d7 (diff) |
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>
-rw-r--r-- | drivers/usb/host/uhci-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index 55cc1166a9f..5382f3a8670 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, }, }; |