mmc: omap_hsmmc: stop using ->enable|disable() callbacks
authorNeilBrown <neilb@suse.de>
Thu, 26 Mar 2015 01:18:23 +0000 (12:18 +1100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 27 Mar 2015 09:34:12 +0000 (10:34 +0100)
commitf57ba4ca483a3e7d0ca31677f3baf036740c883b
tree3bc79582111166708e96b937085086e9367d05d3
parent3a3ad3e9d54c968de1a26fe8ad5982f7ddec7e9f
mmc: omap_hsmmc: stop using ->enable|disable() callbacks

The ->enable|disable() callbacks are only used to get and put runtime
PM references. Currently omap_hsmmc's ->set_ios() already does this
itself.

Other host drivers deals with runtime PM without using the
->enable|disable() callbacks and thus do the runtime PM reference
counting themselves. Apply that approach for omap_hsmmc as well and
then discard the ->enable|disable() callbacks.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c