mmc: dw_mmc: remove the unnecessary IS_ERR() checking for ciu/biu clock
commit7037f3beae352faa478ff5729c308756233ef4d3
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 15 Jul 2016 01:54:08 +0000 (15 10:54 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:18 +0000 (26 21:31 +0200)
treeb6e757fecb7e6a189615d7f653d3d95712401900
parent00f400b73b8deba86d75804e990527b0bab21149
mmc: dw_mmc: remove the unnecessary IS_ERR() checking for ciu/biu clock

If ciu/biu clock are NULL, clk_disable_unprepare should be just
returned. In clk_disable_unprepare(), already checked whether clk is
error or NULL.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c