]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/virtex/spi: Xilinx SPI driver not releasing memory
authorJohn Linn <john.linn@xilinx.com>
Wed, 11 Mar 2009 15:36:20 +0000 (09:36 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 11 Mar 2009 15:36:20 +0000 (09:36 -0600)
commit1df879e4bbf870d769a9330cb917ed517a1d980c
tree87514eded3e316560b4eff84f88d4b9ca53cae97
parente7eec2fc27d7dbefd5852c36b3fe6229e6302c99
powerpc/virtex/spi: Xilinx SPI driver not releasing memory

The driver was not releasing memory when it was removed or
when there was a failure during probe. This fixes it.

Signed-off-by: John Linn <john.linn@xilinx.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/xilinx_spi.c