Re: [PATCH] platform/x86: amd-pmc: only use callbacks for suspend

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

 



On Mon, Dec 13, 2021 at 1:07 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Fri, Dec 10, 2021 at 9:06 PM Mario Limonciello
> <mario.limonciello@xxxxxxx> wrote:

...

> >  static const struct dev_pm_ops amd_pmc_pm_ops = {
> > -       SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(amd_pmc_suspend, amd_pmc_resume)
> > +       .suspend_noirq = amd_pmc_suspend,
> > +       .resume_noirq = amd_pmc_resume,
>
> Can you simply switch to SET_NOIRQ_SYSTEM_SLEEP_PM_OPS()?

My gosh, I see that it was like this... Sorry for the noise.

> >  };

-- 
With Best Regards,
Andy Shevchenko



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

  Powered by Linux