]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: host: uhci-platform: Remove redundant use of of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:21 +0000 (17:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:13 +0000 (11:42 -0700)
'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>
drivers/usb/host/uhci-platform.c

index 55cc1166a9ff733eb7352d6a0bf5cb73a63e86f1..5382f3a8670d47ce8cdbb6eb7111f78bde90369d 100644 (file)
@@ -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,
        },
 };