mtd: sh_flctl: Add missing iounmap()
authorBastian Hecht <hechtb@googlemail.com>
Mon, 14 May 2012 12:14:40 +0000 (14:14 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:03 +0000 (18:17 +0100)
commitcb54751d7a706b4a068b798b97e8a815b99fa835
tree20f8979ff9f24b5364ec108cf74bbb26fbd2c699
parent271b874ba1512a1b3bd24edbd4e4116c3b5c15ae
mtd: sh_flctl: Add missing iounmap()

Add the unmapping for the error case and for the driver removal.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/sh_flctl.c