mtd: bcm_umi_nand: clean up error handling code
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: NJulia Lawall <julia@diku.dk> Acked-by: NJiandong Zheng <jdzheng@broadcom.com> Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@intel.com>
Showing
想要评论请 注册 或 登录