mmc: sh-mmcif: no need to call pm_runtime_suspend on error
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 4 Jun 2014 11:42:12 +0000 (12:42 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2014 09:26:02 +0000 (11:26 +0200)
commit11a808522af3a22a55ace9167670e18b22bce83d
treef8490f0d8643e3389b1f4bba5851a1048e7bfe0f
parent6f4789e6a81f4678b8ffa73a6226be0f99955190
mmc: sh-mmcif: no need to call pm_runtime_suspend on error

The pm_runtime call should implicitly disable the device once the
probe is over if there is no explicit reference gained. There is no
need to call pm_runtime_suspend() before the pm_runtime_disable()
call.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c