commit | 9b4003a687abcf2fe25ba9073dd07345e4529183 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Sep 10 10:19:29 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Tue Sep 10 11:28:22 2013 +0100 |
tree | 15c3c27e6f723dbb713acb535e79b6c24c16e609 | |
parent | 578739259875a93b1869d25cdf4a8bd963b7d0a7 [diff] |
spi: clps711x: Don't call kfree() after spi_master_put/spi_unregister_master 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>