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

index a98dd3b45610cc4b4fcc0843844f2cc03bc91c48..5733f8ed98f182c7bb0a579483989abef484cdc2 100644 (file)
@@ -223,7 +223,7 @@ static struct platform_driver ehci_platform_driver = {
                .owner  = THIS_MODULE,
                .name   = "ehci-platform",
                .pm     = &ehci_platform_pm_ops,
-               .of_match_table = of_match_ptr(vt8500_ehci_ids),
+               .of_match_table = vt8500_ehci_ids,
        }
 };