In a step in removing CONFIG_MMC_CLKGATE, host drivers can implement same functionality through runtime PM. This patchset is converting the sh_mmcif accordingly. On the way, it was reasonable to include some minor cleanups to simplify code. The first patch has beend sent through an another patchset recently, but since it touches related code to this patchset, I decided to fold it in here as well. An important note, this patchset has only been compile tested. I hope someone can help out with proper testing. Ulf Hansson (7): mmc: sh_mmcif: Move away from using deprecated APIs mmc: sh_mmcif: Convert to PM macros when defining dev_pm_ops mmc: sh_mmcif: Convert to clk_prepare|unprepare mmc: sh_mmcif: Use runtime PM to keep resourses active during I/O mmc: sd_mmcif: Move clock handling into runtime PM callbacks mmc: sh_mmcif: Simplify clock and power setup in set_ios mmc: sh_mmcif: Extend clock gating routine for runtime suspend drivers/mmc/host/sh_mmcif.c | 157 +++++++++++++++++++++++-------------------- 1 file changed, 83 insertions(+), 74 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html