summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/davinci_mmc.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2010-05-26 23:42:07 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 18:12:40 +0200
commita791daa15305e7e549a418ef0ae6bc4b4580066e (patch)
treeba85b141bc4ca93cc151449964ce4f903b110c93 /drivers/mmc/host/davinci_mmc.c
parentomap_hsmmc: improve interrupt synchronisation (diff)
downloadlinux-a791daa15305e7e549a418ef0ae6bc4b4580066e.tar.xz
linux-a791daa15305e7e549a418ef0ae6bc4b4580066e.zip
mmc: OMAP HS-MMC: convert to dev_pm_ops
Convert PM operations to use dev_pm_ops. This will facilitate the runtime PM coversion which will add to dev_pm_ops hooks. Note that dev_pm_ops version of the suspend hook no longer takes a 'state' argument. However, the MMC core function mmc_suspend_host() still takes a 'state' argument, but it is unused, so a dummy state variable was created to pass to the MMC core. In the future, the MMC core should be converted to drop this state argument and the rest of the MMC drivers could be easily converted to dev_pm_ops as well. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Cc: Madhusudhan Chikkature <madhu.cr@ti.com> Cc: Adrian Hunter <adrian.hunter@nokia.com> Cc: Matt Fleming <matt@console-pimps.org> Cc: Tony Lindgren <tony@atomide.com> Cc: Denis Karpov <ext-denis.2.karpov@nokia.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/davinci_mmc.c')
0 files changed, 0 insertions, 0 deletions