mtd: spear_smi: release memory region during remove
authorShiraz Hashim <shiraz.hashim@st.com>
Fri, 20 Jan 2012 10:35:19 +0000 (11:35 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:14:36 +0000 (00:14 +0100)
commit495c47d799d93ad688db9db170200eb71525ff45
treebd0e925a755536e9e976959536ae19c4fa5fa161
parentf18dbbb1bfe06ea3995b55c2f533057da9e9294a
mtd: spear_smi: release memory region during remove

Driver must cleanup all held resources during remove. It wasn't
releasing requested memory region.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
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