diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-25 02:19:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-28 12:47:43 +0100 |
commit | 0e0cd9ea8961b82947a40471080e7968b634820e (patch) | |
tree | addfdd3a33b73cd952c4e9357d1007da76bc6426 /fs/gfs2/glock.c | |
parent | spi: fsl-dspi: Use SIMPLE_DEV_PM_OPS macro (diff) | |
download | linux-0e0cd9ea8961b82947a40471080e7968b634820e.tar.xz linux-0e0cd9ea8961b82947a40471080e7968b634820e.zip |
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 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions