mtd: bcm_umi_nand: clean up error handling code
authorJulia Lawall <julia@diku.dk>
Wed, 10 Aug 2011 08:14:14 +0000 (10:14 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:17 +0000 (15:02 +0300)
Convert error handling code to use gotos.  At the same time, this adds
calls to kfree and iounmap in a few cases where they were overlooked.

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Jiandong Zheng <jdzheng@broadcom.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>

No differences found