]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d8ab00c092c32dd26a0eed0350e690d8d306655
tree3bc79582111166708e96b937085086e9367d05d3
parentdfa2aa090cfa5d3072fff275448d448e6e72b118
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