]> git.karo-electronics.de Git - karo-tx-linux.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 <dedekind1@gmail.com>
Thu, 23 Jun 2011 08:43:42 +0000 (11:43 +0300)
commite3be87aa994c330c4386b1bc7b58f75de37913e8
treefa45471189ad5111777f90ce2643efc0274c0438
parentf8d95696147a804ae477c4b3a577ff13029f8138
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