]> git.karo-electronics.de Git - mv-sheeva.git/commit
mmc: sdio: use the generic runtime PM handlers
authorOhad Ben-Cohen <ohad@wizery.com>
Sat, 2 Oct 2010 11:54:09 +0000 (13:54 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:18 +0000 (21:11 +0800)
commit80fd933c44557c5261b80f8f8145b4fe071aeaf3
tree0405f67e9d4318823256f350c9b53e3d55eee7df
parent516d5ccdc61178b9701af1adfa86a306d51fbad2
mmc: sdio: use the generic runtime PM handlers

Assign the generic runtime PM handlers for SDIO.

These handlers invoke the relevant SDIO function drivers'
handlers, if exist, otherwise they just return success
(so SDIO drivers don't have to define any runtime PM handlers
unless they need to).

Runtime PM is still disabled by default, so this patch alone
has no immediate effect.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Tested-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio_bus.c