From: Axel Lin Date: Tue, 10 Sep 2013 02:19:29 +0000 (+0800) Subject: spi: clps711x: Don't call kfree() after spi_master_put/spi_unregister_master X-Git-Tag: v3.12-rc5~22^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4003a687abcf2fe25ba9073dd07345e4529183;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed