diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-27 01:42:07 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 20:12:40 +0400 |
commit | a791daa15305e7e549a418ef0ae6bc4b4580066e (patch) | |
tree | ba85b141bc4ca93cc151449964ce4f903b110c93 /drivers/mmc/host/msm_sdcc.c | |
parent | b417577d3b9bbb06a4ddc9aa955af9bd503f7242 (diff) | |
download | linux-a791daa15305e7e549a418ef0ae6bc4b4580066e.tar.xz |
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/msm_sdcc.c')
0 files changed, 0 insertions, 0 deletions