OSDN Git Service

mtd: davinci_nand: remove redundant mtd_device_unregister
authorAxel Lin <axel.lin@gmail.com>
Wed, 8 Jun 2011 13:01:37 +0000 (21:01 +0800)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:05 +0000 (15:02 +0300)
commit3b36013cf9cc1a1da93ad6bb8f6d3b0221f67e42
treef4448660797a24454a9f50e536bc528a2acd615f
parent0870066d7e6c85bbe37741137e4c4731501a98e0
mtd: davinci_nand: remove redundant mtd_device_unregister

mtd_device_unregister is done in nand_release(),
thus no need to call it in nand_davinci_remove().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/davinci_nand.c