Skip to content

Commit

Permalink
Revert "mtd: move mxcnd_remove to .exit.text"
Browse files Browse the repository at this point in the history
This reverts commit 82613b0, because
commit daa0f15 (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>
  • Loading branch information
Uwe Kleine-König authored and David Woodhouse committed Dec 7, 2009
1 parent df0094d commit 51eeb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/mxc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
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);

Expand Down

0 comments on commit 51eeb87

Please sign in to comment.