Re: [PATCH v2] mmc: sdhci: remove "state" argument from sdhci_suspend_host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 2, 2011 at 3:21 PM, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
> On 02/11/11 16:06, Manuel Lauss wrote:
>> Drop the "state" argument from sdhci_suspend_host.  It's only user
>> is the PCI glue;  this allows to move all SDHCI glues to use
>> dev_pm_ops instead.
>>
>> Signed-off-by: Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx>
>> ---
>> V2: sdhci-s3c does not use sdhci-pltfm.c and gets its own dev_pm_ops.

> Also need to remove "pm_message_t state = { .event = PM_EVENT_SUSPEND };"
> e.g.
>
>        drivers/mmc/host/sdhci-pci.c: In function 'sdhci_pci_runtime_suspend':
>        drivers/mmc/host/sdhci-pci.c:1103:15: warning: unused variable 'state' [-Wunused-variable]

Interesting, I didn't see a warning.  Will fix.

Thank you,
        Manuel Lauss
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux