]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: host: ehci-orion: Remove redundant use of of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 21 May 2013 11:47:18 +0000 (17:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:42:12 +0000 (11:42 -0700)
'ehci_orion_dt_ids' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-orion.c

index 54c57948515051867df3dc8d218699ba6806e5ff..29cc4a3a07a37b123bad379872570fed7367f893 100644 (file)
@@ -303,7 +303,7 @@ static struct platform_driver ehci_orion_driver = {
        .driver = {
                .name   = "orion-ehci",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(ehci_orion_dt_ids),
+               .of_match_table = ehci_orion_dt_ids,
        },
 };