On Mon, Apr 17, 2023 at 02:40:26PM +0530, Dhruva Gole wrote: > -static const struct dev_pm_ops cqspi__dev_pm_ops = { > - .suspend = cqspi_suspend, > - .resume = cqspi_resume, > -}; > +static SIMPLE_DEV_PM_OPS(cqspi__dev_pm_ops, cqspi_suspend, cqspi_resume); > > #define CQSPI_DEV_PM_OPS (&cqspi__dev_pm_ops) > #else These days you should use DEFINE_SIMPLE_DEV_PM_OPS() instead.
Attachment:
signature.asc
Description: PGP signature