[ARM] Fix MTD device/partition destruction
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 29 Oct 2005 15:03:24 +0000 (16:03 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 29 Oct 2005 15:03:24 +0000 (16:03 +0100)
commit822e5e72697ce06e4425c17d161b0482c7d9b6d4
tree0668a09f5da7722ea972d203c931a39dea8b6a5f
parent0d2ef7d73e0b5173af3940139569bebd2375f441
[ARM] Fix MTD device/partition destruction

We should not delete MTD partitions when we registered a MTD
device.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mtd/maps/sa1100-flash.c