spi: omap2-mcspi: Convert to use devm_kcalloc
authorAxel Lin <axel.lin@ingics.com>
Sat, 29 Mar 2014 13:37:44 +0000 (21:37 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 3 Apr 2014 10:21:15 +0000 (11:21 +0100)
This saves a few unwind code and return proper error if devm_kcalloc fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found