From: Guenter Roeck Date: Sat, 18 Aug 2012 16:29:21 +0000 (-0700) Subject: spi/mpc52xx: Fix error handling in probe function X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~41^2~1^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=866c0f25d2dc896e647970cf5e371b5083a6e5d5;p=pandora-kernel.git spi/mpc52xx: Fix error handling in probe function The call to spi_master_put() is needed to free device memory. It must be called after spi_alloc_master, and must only be called after the device memory is no longer used. Signed-off-by: Guenter Roeck Signed-off-by: Mark Brown --- Reading git-diff-tree failed