]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI: exynos: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 21 Oct 2013 09:06:43 +0000 (14:36 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Oct 2013 22:13:40 +0000 (16:13 -0600)
This driver is DT only.  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: Jingoo Han <jg1.han@samsung.com>
drivers/pci/host/pci-exynos.c

index 89804728bd5bc6c2875b9d57940fe4fd2bb9377e..24beed38ddc7bb86daa737650ce793aa847265d3 100644 (file)
@@ -653,7 +653,7 @@ static struct platform_driver exynos_pcie_driver = {
        .driver = {
                .name   = "exynos-pcie",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(exynos_pcie_of_match),
+               .of_match_table = exynos_pcie_of_match,
        },
 };