From: Marek Szyprowski Date: Thu, 23 Sep 2010 14:22:05 +0000 (+0200) Subject: mmc: sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove X-Git-Tag: v2.6.36-rc6~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9320f7cbbdd5febf013b0e91db29189724057738;p=pandora-kernel.git mmc: sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove If not all clocks have been defined in platform data, the driver will cause a null pointer dereference when it is removed. This patch fixes this issue. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park Cc: Signed-off-by: Andrew Morton Signed-off-by: Chris Ball --- Reading git-diff-tree failed