diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-25 05:44:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-28 12:48:55 +0100 |
commit | c63f5da00845143de621e991ea186be0829647ee (patch) | |
tree | 6f5095de47a8364eb5e2b27093746f28fe503bef /fs/nfs/nfs4filelayout.c | |
parent | spi: dw: Convert to let spi core validate transfer speed (diff) | |
download | linux-c63f5da00845143de621e991ea186be0829647ee.tar.xz linux-c63f5da00845143de621e991ea186be0829647ee.zip |
spi: dw: Don't call kfree for memory allocated by devm_kzalloc
With devm_kzalloc, the memory is automatically freed when spi_device detach from
the bus.
Fixes: commit 43f627ac9de42 (spi: dw: fix memory leak on error path)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stabe@vger.kernel.org
Diffstat (limited to 'fs/nfs/nfs4filelayout.c')
0 files changed, 0 insertions, 0 deletions