Re: [PATCH] MMC: OMAP HS-MMC: convert to dev_pm_ops

From: Matt Fleming
Date: Thu May 13 2010 - 14:54:04 EST


On Tue, 11 May 2010 14:57:16 -0700, Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx> wrote:
>
> 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.

Hmm.. instead of passing this dummy state argument why don't we just
remove the argument from mmc_suspend_host()? Like you said, it's unused,
so I don't see a reason to keep it around?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/