ARM: pxa: ssp: use devm_ functions
authorDaniel Mack <zonque@gmail.com>
Mon, 12 Aug 2013 08:37:17 +0000 (10:37 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 14 Aug 2013 18:54:27 +0000 (19:54 +0100)
commit1c459de1e645b213a07b9492884a54f5861409f5
treeabe4d39ad7e86538a767e07fb9a78d3c3f840f01
parenta6e56c28a178cef5f93d1e11698a23a5482175d9
ARM: pxa: ssp: use devm_ functions

Use devm_ functions to allocate memory, ioremap, clk_get etc to clean up
the error unwind path.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm/plat-pxa/ssp.c