mtd: denali: remove calling mtd_device_unregister() after nand_release()
authorAxel Lin <axel.lin@gmail.com>
Fri, 3 Jun 2011 01:12:15 +0000 (09:12 +0800)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:01:58 +0000 (15:01 +0300)
commitb07948251f563379885ac92412fb3885c976e423
treec6dbea10f1dfae21c2ad1ac098b1b3a8643b48d9
parent5507766b639e53b9230484588eba8b4e18d0563b
mtd: denali: remove calling mtd_device_unregister() after nand_release()

The implementation of nand_release() already call mtd_device_unregister(),
no need to call it again.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/denali.c