[PATCH v4 08/18] phy: ti: phy-j721e-wiz: add resume support

Andy Shevchenko andy at kernel.org
Fri Apr 5 10:14:10 PDT 2024


On Fri, Apr 05, 2024 at 10:14:09PM +0530, Vinod Koul wrote:
> On 04-03-24, 16:35, Thomas Richard wrote:

...

> > +static int wiz_resume_noirq(struct device *dev)
> 
> I think this should be annotated with __maybe_unused

No...

> > +		.pm	= pm_sleep_ptr(&wiz_pm_ops),

...because of magic of PTR_IF() here.

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list