Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51eeb878 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by David Woodhouse
Browse files

Revert "mtd: move mxcnd_remove to .exit.text"



This reverts commit 82613b0d, because
commit daa0f15a (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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent df0094d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);