[PATCH v2 10/10] pinctrl: tegra: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
Paul Cercueil
paul at crapouillou.net
Tue Jul 18 05:01:27 PDT 2023
Hi Thierry,
Le mardi 18 juillet 2023 à 13:38 +0200, Thierry Reding a écrit :
> On Tue, Jul 18, 2023 at 11:11:43AM +0100, Jonathan Cameron wrote:
> > On Mon, 17 Jul 2023 20:28:21 +0300
> > Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:
> >
> > > Since pm.h provides a helper for system no-IRQ PM callbacks,
> > > switch the driver to use it instead of open coded variant.
> > >
> > > Signed-off-by: Andy Shevchenko
> > > <andriy.shevchenko at linux.intel.com>
> >
> > No pm_sleep_ptr()?
>
> pm_sleep_ptr() is pointless on this driver. This driver is selected
> by
> ARCH_TEGRA and ARCH_TEGRA also always selects PM.
If I'm not mistaken, ARCH_TEGRA selects CONFIG_PM, not CONFIG_PM_SLEEP.
Cheers,
-Paul
More information about the linux-arm-kernel
mailing list