commit | 0e0cd9ea8961b82947a40471080e7968b634820e | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Mar 25 09:19:05 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Fri Mar 28 11:47:43 2014 +0000 |
tree | addfdd3a33b73cd952c4e9357d1007da76bc6426 | |
parent | ba811addff3d29d1ea9861dbfc06e8ef80714f94 [diff] |
spi: fsl-dspi: Fix memory leak The memory allocated for chip 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>