[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <477F20668A386D41ADCC57781B1F70430EA2E0635A@SC-VEXCH1.marvell.com>
Date: Tue, 2 Jul 2013 12:07:26 -0700
From: Bing Zhao <bzhao@...vell.com>
To: Hauke Mehrtens <hauke@...ke-m.de>,
Shuah Khan <shuah.kh@...sung.com>
CC: "linville@...driver.com" <linville@...driver.com>,
"rjw@...k.pl" <rjw@...k.pl>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"shuahkhan@...il.com" <shuahkhan@...il.com>
Subject: RE: [PATCH] wireless: Convert mwifiex/pcie to dev_pm_ops from
legacy pm ops
Hi Hauke,
Thanks for your comments.
> > @@ -213,7 +227,7 @@ static void mwifiex_pcie_remove(struct pci_dev *pdev)
> > if (user_rmmod) {
> > #ifdef CONFIG_PM
> > if (adapter->is_suspended)
> > - mwifiex_pcie_resume(pdev);
> > + __mwifiex_pcie_resume(pdev);
>
> You could use mwifiex_pcie_resume(&pdev->dev) here and then the extra
> function __mwifiex_pcie_resume() is not needed any more.
That makes more sense.
Thanks,
Bing
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists