mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 11:17:07 +00:00
mmc: dw_mmc: use __devexit_p macro for .remove()
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Girish K S <girish.shivananjappa@linaro.org> Acked-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
45c5a914e6
commit
4c4f87fb75
@ -134,7 +134,7 @@ static struct pci_driver dw_mci_pci_driver = {
|
|||||||
.name = "dw_mmc_pci",
|
.name = "dw_mmc_pci",
|
||||||
.id_table = dw_mci_pci_id,
|
.id_table = dw_mci_pci_id,
|
||||||
.probe = dw_mci_pci_probe,
|
.probe = dw_mci_pci_probe,
|
||||||
.remove = dw_mci_pci_remove,
|
.remove = __devexit_p(dw_mci_pci_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.pm = &dw_mci_pci_pmops
|
.pm = &dw_mci_pci_pmops
|
||||||
},
|
},
|
||||||
|
@ -119,7 +119,7 @@ static const struct of_device_id dw_mci_pltfm_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match);
|
MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match);
|
||||||
|
|
||||||
static struct platform_driver dw_mci_pltfm_driver = {
|
static struct platform_driver dw_mci_pltfm_driver = {
|
||||||
.remove = __exit_p(dw_mci_pltfm_remove),
|
.remove = __devexit_p(dw_mci_pltfm_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "dw_mmc",
|
.name = "dw_mmc",
|
||||||
.of_match_table = of_match_ptr(dw_mci_pltfm_match),
|
.of_match_table = of_match_ptr(dw_mci_pltfm_match),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user