summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/dw_mmc-socfpga.c
diff options
context:
space:
mode:
authorSachin Kamat2013-09-12 08:46:35 +0200
committerChris Ball2013-09-26 03:57:26 +0200
commit21f67c2fd820b615ca7f5b1e87704b605410308e (patch)
treee8a6715b583e613c9c208f6b9709a346b0e0235a /drivers/mmc/host/dw_mmc-socfpga.c
parentmmc: mvsdio: Convert to devm_ioremap_resource (diff)
downloadkernel-qcow2-linux-21f67c2fd820b615ca7f5b1e87704b605410308e.tar.gz
kernel-qcow2-linux-21f67c2fd820b615ca7f5b1e87704b605410308e.tar.xz
kernel-qcow2-linux-21f67c2fd820b615ca7f5b1e87704b605410308e.zip
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 <sachin.kamat@linaro.org> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc-socfpga.c')
-rw-r--r--drivers/mmc/host/dw_mmc-socfpga.c2
1 files changed, 1 insertions, 1 deletions
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,
},
};