]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 16 Aug 2011 13:44:10 +0000 (16:44 +0300)
commitd6da5e2a37c9a88052de677060398e29e41f82ce
treec75bae903c44c4fbf800ae986fda4d1b45878c61
parent330f4b5508d1e738e8ef41b0dde983c3257c18cd
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