spi: efm32: Don't call kfree() after spi_master_put()
authorAxel Lin <axel.lin@ingics.com>
Fri, 20 Sep 2013 10:39:18 +0000 (18:39 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 23 Sep 2013 13:53:10 +0000 (14:53 +0100)
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>

No differences found