Messages in this thread | | | Date | Wed, 28 Sep 2022 14:31:45 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH v2 1/4] pwm: sysfs: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() |
| |
On Fri, Aug 26, 2022 at 08:07:13PM +0300, Andy Shevchenko wrote: > Using these newer macros allows the compiler to remove the unused > structure and functions when !CONFIG_PM_SLEEP + removes the need to > mark pm functions __maybe_unused. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> > --- > v2: added tag (Uwe) > drivers/pwm/sysfs.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
Thierry [unhandled content-type:application/pgp-signature] | |