Revert "mtd: move mxcnd_remove to .exit.text"
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 7 Dec 2009 09:44:05 +0000 (09:44 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 7 Dec 2009 09:44:05 +0000 (09:44 +0000)
commit51eeb878155cdea73e7a1f0372b266018bd7a424
treea2861259174863232d36069fbcf3eae120b353ea
parentdf0094d7f46d37944aa26b4f6e978b4b2ad252ea
Revert "mtd: move mxcnd_remove to .exit.text"

This reverts commit 82613b0da622efbd24cb7b23eb349966802310f1, 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>
drivers/mtd/nand/mxc_nand.c