Skip to content
Commit 1a13f8fa authored by Matt Fleming's avatar Matt Fleming Committed by Linus Torvalds
Browse files

mmc: remove the "state" argument to mmc_suspend_host()



Even though many mmc host drivers pass a pm_message_t argument to
mmc_suspend_host() that argument isn't used the by MMC core.  As host
drivers are converted to dev_pm_ops they'll have to construct
pm_message_t's (as they won't be passed by the PM subsystem any more) just
to appease the mmc suspend interface.

We might as well just delete the unused paramter.

Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
Acked-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
Acked-by: default avatarMichal Miroslaw <mirq-linux@rere.qmqm.pl&gt;ZZ>
Acked-by: default avatarSascha Sommer <saschasommer@freenet.de>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a791daa1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment