]> Pileus Git - ~andy/linux/commitdiff
PCI: mvebu: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 19 Dec 2013 09:04:59 +0000 (14:34 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Dec 2013 18:17:21 +0000 (11:17 -0700)
mvebu_pcie_of_match_table is always compiled in.  Hence of_match_ptr is not
required.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pci-mvebu.c

index 6f35df5fedce72f6d5d875a67a325e4e7aafb9fa..afd2af04980ce56060f3644a145f03c57d04a7e3 100644 (file)
@@ -1007,8 +1007,7 @@ static struct platform_driver mvebu_pcie_driver = {
        .driver = {
                .owner = THIS_MODULE,
                .name = "mvebu-pcie",
-               .of_match_table =
-                  of_match_ptr(mvebu_pcie_of_match_table),
+               .of_match_table = mvebu_pcie_of_match_table,
                /* driver unloading/unbinding currently not supported */
                .suppress_bind_attrs = true,
        },