From: Sachin Kamat Date: Mon, 18 Feb 2013 08:53:09 +0000 (+0530) Subject: mmc: dw_mmc: exynos: Remove unnecessary use of of_match_ptr() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=20183d509cadfaee3b2b3ebe368431d566403c3d;p=linux-beck.git mmc: dw_mmc: exynos: Remove unnecessary use of of_match_ptr() 'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr is not required. Signed-off-by: Sachin Kamat Acked-by: Jaehoon Chung Acked-by: Seungwon Jeon Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 5a09c779a937..517a6033ead8 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -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, }, };