提交 21f67c2f 编写于 作者: S Sachin Kamat 提交者: Chris Ball

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: NSachin Kamat <sachin.kamat@linaro.org>
Acked-by: NJaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 e02d2930
...@@ -126,7 +126,7 @@ static struct platform_driver dw_mci_socfpga_pltfm_driver = { ...@@ -126,7 +126,7 @@ static struct platform_driver dw_mci_socfpga_pltfm_driver = {
.remove = __exit_p(dw_mci_pltfm_remove), .remove = __exit_p(dw_mci_pltfm_remove),
.driver = { .driver = {
.name = "dwmmc_socfpga", .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, .pm = &dw_mci_pltfm_pmops,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册