summaryrefslogtreecommitdiff
path: root/arch/cris/arch-v32/drivers/iop_fw_load.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-08-18 20:29:21 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-22 22:26:36 +0400
commit866c0f25d2dc896e647970cf5e371b5083a6e5d5 (patch)
treeb8d376d6b0c3602aeb16225c6d7f8e101bed4b23 /arch/cris/arch-v32/drivers/iop_fw_load.c
parent495e3ff365425f9b69884ddde36047184f37c2bd (diff)
downloadlinux-866c0f25d2dc896e647970cf5e371b5083a6e5d5.tar.xz
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 <linux@roeck-us.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/cris/arch-v32/drivers/iop_fw_load.c')
0 files changed, 0 insertions, 0 deletions