[Linux-kernel-mentees] [PATCH v1] bnx2x: use generic power management

Vaibhav Gupta vaibhav.varodek at gmail.com
Sat Jun 27 05:50:03 UTC 2020


On Sat, 27 Jun 2020 at 00:44, David Miller <davem at davemloft.net> wrote:
>
> From: Vaibhav Gupta <vaibhavgupta40 at gmail.com>
> Date: Wed, 24 Jun 2020 23:21:17 +0530
>
> > With legacy PM, drivers themselves were responsible for managing the
> > device's power states and takes care of register states.
> >
> > After upgrading to the generic structure, PCI core will take care of
> > required tasks and drivers should do only device-specific operations.
> >
> > The driver was also calling bnx2x_set_power_state() to set the power state
> > of the device by changing the device's registers' value. It is no more
> > needed.
> >
> > Compile-tested only.
> >
> > Signed-off-by: Vaibhav Gupta <vaibhavgupta40 at gmail.com>
>
> Applied, thanks.
Thanks everyone :)
-- Vaibhav Gupta


More information about the Linux-kernel-mentees mailing list