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 <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>
This commit is contained in:
parent
6a966e0609
commit
20183d509c
|
@ -230,7 +230,7 @@ static struct platform_driver dw_mci_exynos_pltfm_driver = {
|
||||||
.remove = __exit_p(dw_mci_pltfm_remove),
|
.remove = __exit_p(dw_mci_pltfm_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "dwmmc_exynos",
|
.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,
|
.pm = &dw_mci_pltfm_pmops,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue