[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOMZO5CsoTAPHBkuDw_zgArRX0g=aUNeVJQPzD=dv9qTtjXU1A@mail.gmail.com>
Date: Tue, 1 Oct 2024 13:42:26 -0300
From: Fabio Estevam <festevam@...il.com>
To: Han Xu <han.xu@....com>
Cc: Miquel Raynal <miquel.raynal@...tlin.com>, Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>, imx@...ts.linux.dev, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mtd: nand: raw: gpmi: switch to SYSTEM_SLEEP_PM_OPS
On Tue, Oct 1, 2024 at 1:32 PM Han Xu <han.xu@....com> wrote:
> static const struct dev_pm_ops gpmi_pm_ops = {
> - SET_SYSTEM_SLEEP_PM_OPS(gpmi_pm_suspend, gpmi_pm_resume)
> - SET_RUNTIME_PM_OPS(gpmi_runtime_suspend, gpmi_runtime_resume, NULL)
> + SYSTEM_SLEEP_PM_OPS(gpmi_pm_suspend, gpmi_pm_resume)
> + RUNTIME_PM_OPS(gpmi_runtime_suspend, gpmi_runtime_resume, NULL)
> };
You missed to change .pm = &gpmi_pm_ops, to .pm = pm_ptr(&gpmi_pm_ops),
Powered by blists - more mailing lists