From: Russell King - ARM Linux Date: Mon, 29 Oct 2012 21:43:07 +0000 (+0000) Subject: mmc: fix sdhci-dove probe/removal X-Git-Tag: v3.7-rc5~8^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee3298a2b6832bcfeec040dabf19632b704d826a;p=pandora-kernel.git mmc: fix sdhci-dove probe/removal 1. Never ever publish a device in the system before it has been setup to a usable state. 2. Unregister the device _BEFORE_ taking away any resources it may be using. 3. Don't check clks against NULL. Signed-off-by: Russell King Tested-by: Sebastian Hesselbarth Signed-off-by: Chris Ball --- Reading git-diff-tree failed