Commit 96083379 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Ulf Hansson

mmc: dw_mmc: rockchip: remove incorrect __exit_p()

dw_mci_pltfm_remove() is not (nor should it be) marked as __exit,
so we should not be using __exit_p() wrapper with it.
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: default avatarDoug Anderson <dianders@chromium.org>
Tested-by: default avatarDoug Anderson <dianders@chromium.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 7d589edc
...@@ -133,7 +133,7 @@ static SIMPLE_DEV_PM_OPS(dw_mci_rockchip_pmops, ...@@ -133,7 +133,7 @@ static SIMPLE_DEV_PM_OPS(dw_mci_rockchip_pmops,
static struct platform_driver dw_mci_rockchip_pltfm_driver = { static struct platform_driver dw_mci_rockchip_pltfm_driver = {
.probe = dw_mci_rockchip_probe, .probe = dw_mci_rockchip_probe,
.remove = __exit_p(dw_mci_pltfm_remove), .remove = dw_mci_pltfm_remove,
.driver = { .driver = {
.name = "dwmmc_rockchip", .name = "dwmmc_rockchip",
.of_match_table = dw_mci_rockchip_match, .of_match_table = dw_mci_rockchip_match,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment