]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
omap: hsmmc: Avoid NULL pointer dereference
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 30 Jun 2008 14:16:27 +0000 (17:16 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Jul 2008 10:21:35 +0000 (13:21 +0300)
commitcefd285a57331a00a67b77d0ff463a7aaaf2e765
tree5147c0c13b81a80eb7a2cb216bbe1817bb0248db
parentc052c19e7cd98ab9a464832736a67cb395628a78
omap: hsmmc: Avoid NULL pointer dereference

Try if pdata provides a cleanup function pointers. For
boards which don't provide it, driver will oops in
omap_remove.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap_hsmmc.c