mmc: sdhci-dove: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 25 Feb 2014 09:48:24 +0000 (15:18 +0530)
committerChris Ball <chris@printf.net>
Tue, 25 Feb 2014 20:43:06 +0000 (15:43 -0500)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci-dove.c

index 8424839660f844b748f7960a46a5e9cf5df88e56..736d7a2eb7ec454a0bde08de0ae9bc3ba0b006e0 100644 (file)
@@ -208,7 +208,7 @@ static struct platform_driver sdhci_dove_driver = {
                .name   = "sdhci-dove",
                .owner  = THIS_MODULE,
                .pm     = SDHCI_PLTFM_PMOPS,
-               .of_match_table = of_match_ptr(sdhci_dove_of_match_table),
+               .of_match_table = sdhci_dove_of_match_table,
        },
        .probe          = sdhci_dove_probe,
        .remove         = sdhci_dove_remove,