mmc: core: Attach PM domain prior probing of SDIO func driver
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 10:18:25 +0000 (12:18 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 4 Jun 2015 08:03:51 +0000 (10:03 +0200)
Other subsystem buses attach PM domains during probe, but prior calling
the driver's ->probe() method. During the removal phase, detaching the PM
domain will be done after invoking the driver's ->remove() callback.

Convert the SDIO bus to follow this behavior and add error handling.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio_bus.c

Simple merge