mtd: nand: omap: free region as per resource size
authorAfzal Mohammed <afzal@ti.com>
Sat, 29 Sep 2012 05:44:47 +0000 (11:14 +0530)
committerAfzal Mohammed <afzal@ti.com>
Mon, 15 Oct 2012 09:11:56 +0000 (14:41 +0530)
commit48b51d4dda3195320ec95b3393f44bfb060653c1
tree43633d7d62aa997271f0ba68b5771fad2dda264a
parent89d1efc1fd0aceef8c668e8172aa470477b2784a
mtd: nand: omap: free region as per resource size

memory as is now obtained via resource, upon freeing use
resource size. This also helps get rid of one macro.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
drivers/mtd/nand/omap2.c