]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe540c52b7ab854b1c0dfbe4e2fc6c7672d632f3
treef4448660797a24454a9f50e536bc528a2acd615f
parentae931fbf0df86f1820f1c8e5967eb6277a26d3f9
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