diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-25 05:19:05 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-28 15:47:43 +0400 |
commit | 0e0cd9ea8961b82947a40471080e7968b634820e (patch) | |
tree | addfdd3a33b73cd952c4e9357d1007da76bc6426 /drivers/spi/spi-clps711x.c | |
parent | ba811addff3d29d1ea9861dbfc06e8ef80714f94 (diff) | |
download | linux-0e0cd9ea8961b82947a40471080e7968b634820e.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-clps711x.c')
0 files changed, 0 insertions, 0 deletions