From: Sachin Kamat Date: Thu, 12 Sep 2013 06:46:35 +0000 (+0530) Subject: mmc: dw_mmc-socfpga: Remove redundant of_match_ptr X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=21f67c2fd820b615ca7f5b1e87704b605410308e;p=deliverable%2Flinux.git mmc: dw_mmc-socfpga: Remove redundant of_match_ptr 'dw_mci_socfpga_match' is always compiled in. Hence of_match_ptr is not necessary. Signed-off-by: Sachin Kamat Acked-by: Jaehoon Chung Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/dw_mmc-socfpga.c b/drivers/mmc/host/dw_mmc-socfpga.c index 4d7b9998ad2b..8e8e2050f3e7 100644 --- a/drivers/mmc/host/dw_mmc-socfpga.c +++ b/drivers/mmc/host/dw_mmc-socfpga.c @@ -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, }, };