diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-09-20 18:39:18 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-23 14:53:10 +0100 |
commit | 57841439b62e3ddb5ee50e765aa50330dde612d0 (patch) | |
tree | a9d2cb93e4dd40deeaa55ac8fdb26862c44aa9f1 /include | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) | |
download | linux-57841439b62e3ddb5ee50e765aa50330dde612d0.tar.bz2 |
spi: efm32: Don't call kfree() after spi_master_put()
Calling kfree() to clean up the memory obtained from spi_alloc_master() is
wrong as this is done in spi_master_release() when spi_master->dev's refcount
reaches zero.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions