spi: omap-100k: Fix memory leak
authorAxel Lin <axel.lin@ingics.com>
Sat, 29 Mar 2014 07:03:37 +0000 (15:03 +0800)
committerMark Brown <broonie@linaro.org>
Sat, 29 Mar 2014 10:01:13 +0000 (10:01 +0000)
The memory allocated for cs is not freed anywhere.
Convert to use devm_kzalloc to fix the memory leak.

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

No differences found