From: Ulf Hansson Date: Thu, 2 May 2013 12:02:37 +0000 (+0200) Subject: mmc: core: Add bus_ops for runtime pm callbacks X-Git-Tag: v3.11-rc1~50^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d01d0b813b93e7bde1b5f468b5c85aa8b33590;p=pandora-kernel.git mmc: core: Add bus_ops for runtime pm callbacks SDIO is the only protocol that uses runtime pm for the card device right now. To provide the option for sd and mmc to use runtime pm as well the bus_ops callback are extended with two new functions. One for runtime_suspend and one for runtime_resume. This patch will also implement the callbacks for SDIO to make sure existing functionality is maintained. It also prepares to move away from using the mmc_power_restore_host API, since it is not needed when using runtime PM. Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed