Blackfin SPI Driver: fix NULL pointer crash
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 7 Apr 2009 02:00:51 +0000 (19:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:31:06 +0000 (08:31 -0700)
commite7d02e3c9577f070bc77354763bed7f24713dc53
tree7c6d62e9e9725c9147825ce131f831d82cff053f
parent138f97cd06deddd53ad496ac1656917a7b486d24
Blackfin SPI Driver: fix NULL pointer crash

Fix NULL pointer crash when cleaning up from invalid platform resources

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_bfin5xx.c