mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 13:13:04 -04:00
Revert "mtd: move mxcnd_remove to .exit.text"
This reverts commit82613b0da6, because commitdaa0f15(mtd: don't use __exit_p to wrap mxcnd_remove) is a better solution. Not having a remove callback breaks rebinding because resources are not freed on remove. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
David Woodhouse
parent
df0094d7f4
commit
51eeb87815
@@ -861,7 +861,7 @@ eclk:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __exit mxcnd_remove(struct platform_device *pdev)
|
||||
static int __devexit mxcnd_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct mxc_nand_host *host = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user