From: Kevin Hilman Date: Wed, 26 May 2010 21:42:07 +0000 (-0700) Subject: mmc: OMAP HS-MMC: convert to dev_pm_ops X-Git-Tag: v2.6.35-rc1~231 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a791daa15305e7e549a418ef0ae6bc4b4580066e;p=pandora-kernel.git 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 Cc: Madhusudhan Chikkature Cc: Adrian Hunter Cc: Matt Fleming Cc: Tony Lindgren Cc: Denis Karpov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed