From: Jisheng Zhang Date: Mon, 5 Jan 2015 07:59:19 +0000 (+0800) Subject: mmc: sdhci-pxav3: Remove checks for optional core clock in error/remove path X-Git-Tag: fixes-v4.0-rc1~141^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c25d9e1bda2316aa0d2bb61640ab4fbe01feb590;p=pandora-kernel.git mmc: sdhci-pxav3: Remove checks for optional core clock in error/remove path Commit 63589e92c2d9 ("clk: Ignore error and NULL pointers passed to clk_{unprepare, disable}()") allows NULL or error pointer to be passed unconditionally. This patch is to simplify probe error and remove code paths. However, we reserve the core clock checks in runtime suspend/resume code because we want a little smaller latency. Signed-off-by: Jisheng Zhang Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed