]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-pxav3: Remove checks for optional core clock in error/remove path
authorJisheng Zhang <jszhang@marvell.com>
Mon, 5 Jan 2015 07:59:19 +0000 (15:59 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 21 Jan 2015 13:20:01 +0000 (14:20 +0100)
commitc25d9e1bda2316aa0d2bb61640ab4fbe01feb590
tree4e21747a55dfa0597671e0a31af32308284475d9
parentbe186ad5826ab6a06b585802dd5052d9674699ac
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 <jszhang@marvell.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav3.c