mmc: core: Remove MMC_CLKGATE
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 2 Oct 2015 08:56:11 +0000 (10:56 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 15:00:09 +0000 (16:00 +0100)
commit9eadcc0581a8ccaf4c2378aa1c193fb164304f1d
tree906aca52e94a37059310f6ed0ad9db58de74b2be
parenta22950c888e3770c958a5c489906b48d3764a783
mmc: core: Remove MMC_CLKGATE

MMC_CLKGATE was once invented to save power by gating the bus clock at
request inactivity. At that time it served its purpose. The modern way to
deal with power saving for these scenarios, is by using runtime PM.

Nowadays, several host drivers have deployed runtime PM, but for those
that haven't and which still cares power saving at request inactivity,
it's certainly time to deploy runtime PM as it has been around for several
years now.

To simplify code to mmc core and thus decrease maintenance efforts, this
patch removes all code related to MMC_CLKGATE.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
13 files changed:
Documentation/mmc/mmc-dev-attrs.txt
drivers/mmc/core/Kconfig
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/debugfs.c
drivers/mmc/core/host.c
drivers/mmc/core/mmc.c
drivers/mmc/core/quirks.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c
drivers/mmc/core/sdio_irq.c
include/linux/mmc/card.h
include/linux/mmc/host.h