wl1251: Fix memory leaks in SPI initialization
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 16 Jun 2012 19:26:48 +0000 (22:26 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 18:10:25 +0000 (14:10 -0400)
commita859e4d6590b2429f518aa712b9e3edd367398d7
tree41d9f7b2dd3abc846f54d52d9d760df3627fcda9
parent0d776fcdafed91403b1f453473771664ef7a66bd
wl1251: Fix memory leaks in SPI initialization

This patch fixes two memory leaks in the SPI initialization code.

Patch based on old maemo patch by:
Yuri Ershov <ext-yuri.ershov@nokia.com>

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl1251/spi.c