[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200715103815.1A992C433A1@smtp.codeaurora.org>
Date: Wed, 15 Jul 2020 10:38:15 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Vaibhav Gupta <vaibhavgupta40@...il.com>
Cc: Bjorn Helgaas <helgaas@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>, bjorn@...gaas.com,
Vaibhav Gupta <vaibhav.varodek@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Vaibhav Gupta <vaibhavgupta40@...il.com>,
skhan@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
netdev@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: Re: [PATCH v1] rtl818x_pci: use generic power management
Vaibhav Gupta <vaibhavgupta40@...il.com> wrote:
> Earlier, drivers had to manage the device's power states, and related
> operations, themselves. With the generic approach, these are done by PCI
> core.
>
> The only driver-specific jobs, .suspend() and .resume() doing were invoking
> PCI helper functions pci_save/restore_state() and
> pci_set_power_state(). This is not recommeneded as PCI core takes care of
> that. Hence they became empty-body functions, thus define them NULL.
>
> Compile-tested only.
>
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40@...il.com>
Patch applied to wireless-drivers-next.git, thanks.
ef6425107ccc rtl818x_pci: use generic power management
--
https://patchwork.kernel.org/patch/11620213/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists