mtd: spear_smi: Remove default partition information from driver
authorStefan Roese <sr@denx.de>
Fri, 16 Mar 2012 10:41:40 +0000 (11:41 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 27 Mar 2012 00:01:14 +0000 (01:01 +0100)
commitf7e3dd8f48faad24334f7bea048ea59a2c766587
tree5fdaa12b12d87f5c41b64b32cc6f4835e516b688
parenteea628199d5b12429c47db17035a954b0062e554
mtd: spear_smi: Remove default partition information from driver

Additionally, after failing in mtd_device_parse_register(), the driver
unmap/free code is now executed.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/spear_smi.c