mmc: dw_mmc: exynos: Remove unnecessary use of of_match_ptr()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Feb 2013 08:53:09 +0000 (14:23 +0530)
committerChris Ball <cjb@laptop.org>
Fri, 22 Mar 2013 16:54:12 +0000 (12:54 -0400)
'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr
is not required.

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

index 5a09c77..517a603 100644 (file)
@@ -230,7 +230,7 @@ static struct platform_driver dw_mci_exynos_pltfm_driver = {
        .remove         = __exit_p(dw_mci_pltfm_remove),
        .driver         = {
                .name           = "dwmmc_exynos",
-               .of_match_table = of_match_ptr(dw_mci_exynos_match),
+               .of_match_table = dw_mci_exynos_match,
                .pm             = &dw_mci_pltfm_pmops,
        },
 };