mmc: dw_mmc-socfpga: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 12 Sep 2013 06:46:35 +0000 (12:16 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 01:57:26 +0000 (21:57 -0400)
'dw_mci_socfpga_match' is always compiled in.
Hence of_match_ptr is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc-socfpga.c

index 4d7b9998ad2bd0b906846b2a64c5f453c3e3473a..8e8e2050f3e74cfc036de3a551716c68572fe4ea 100644 (file)
@@ -126,7 +126,7 @@ static struct platform_driver dw_mci_socfpga_pltfm_driver = {
        .remove         = __exit_p(dw_mci_pltfm_remove),
        .driver         = {
                .name           = "dwmmc_socfpga",
-               .of_match_table = of_match_ptr(dw_mci_socfpga_match),
+               .of_match_table = dw_mci_socfpga_match,
                .pm             = &dw_mci_pltfm_pmops,
        },
 };