ARM: iMX: visstrim_m10: use arm_memblock_steal
commit895576427dca617d0b1cc9dd2c450d82c58d67a9
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Aug 2012 10:12:56 +0000 (29 11:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Aug 2012 10:13:03 +0000 (29 11:13 +0100)
treeaa1665dd659e625f1f927043ca336244a95050e9
parentc5dfdbe0c70c8c032a2962ccd51f163388def148
ARM: iMX: visstrim_m10: use arm_memblock_steal

Use the provided function rather than re-coding this bit of code.
This also gets us protection against using these functions from
invalid contexts.

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-imx/mach-imx27_visstrim_m10.c