mmc: dw_mmc: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 25 Feb 2014 09:48:23 +0000 (15:18 +0530)
committerChris Ball <chris@printf.net>
Tue, 25 Feb 2014 20:43:02 +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>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/dw_mmc-pltfm.c

index 5c49656..2553bfb 100644 (file)
@@ -123,7 +123,7 @@ static struct platform_driver dw_mci_pltfm_driver = {
        .remove         = dw_mci_pltfm_remove,
        .driver         = {
                .name           = "dw_mmc",
-               .of_match_table = of_match_ptr(dw_mci_pltfm_match),
+               .of_match_table = dw_mci_pltfm_match,
                .pm             = &dw_mci_pltfm_pmops,
        },
 };