From: Felipe Balbi Date: Mon, 30 Jun 2008 14:16:27 +0000 (+0300) Subject: omap: hsmmc: Avoid NULL pointer dereference X-Git-Tag: v2.6.26-omap1~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cefd285a57331a00a67b77d0ff463a7aaaf2e765;p=pandora-kernel.git 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed