]> 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)
commitaa1f3c3fd03c1e8e74a32ca3fd1aa321ceec3de1
treef4448660797a24454a9f50e536bc528a2acd615f
parent813efb172958d48d4bef5b34f7ca146b5fe4772e
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