From: Axel Lin Date: Fri, 20 Sep 2013 10:39:18 +0000 (+0800) Subject: spi: efm32: Don't call kfree() after spi_master_put() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~15^2~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57841439b62e3ddb5ee50e765aa50330dde612d0;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed