mmc: tmio_mmc: Hotplug code regrouping
authorBastian Hecht <hechtb@googlemail.com>
Fri, 23 Dec 2011 22:03:13 +0000 (23:03 +0100)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:45 +0000 (23:58 -0500)
commitcbb18b309d3d6b6661f931279697eac77b6591c9
tree7df65c7d8200b38bef31a3fee09a1af18808f30d
parent913047e9e5787a90696533a9f109552b7694ecc9
mmc: tmio_mmc: Hotplug code regrouping

This patch regroups the code slightly, adds documentation and allows
the rtpm counter of MMC_CAP_NEEDS_POLL devices to reach 0 again.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
[g.liakhovetski@gmx.de: restore pm_runtime_get_noresume()]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c