diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-08-18 09:29:21 -0700 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-22 19:26:36 +0100 |
commit | 866c0f25d2dc896e647970cf5e371b5083a6e5d5 (patch) | |
tree | b8d376d6b0c3602aeb16225c6d7f8e101bed4b23 /fs/cachefiles/main.c | |
parent | 495e3ff365425f9b69884ddde36047184f37c2bd (diff) | |
download | talos-obmc-linux-866c0f25d2dc896e647970cf5e371b5083a6e5d5.tar.gz talos-obmc-linux-866c0f25d2dc896e647970cf5e371b5083a6e5d5.zip |
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 'fs/cachefiles/main.c')
0 files changed, 0 insertions, 0 deletions