diff options
author | Andy Shevchenko | 2022-08-26 20:07:13 +0300 |
---|---|---|
committer | Thierry Reding | 2022-09-28 14:07:53 +0200 |
commit | f36216724b25f16f2118f3a983d13cafcdc31d5a (patch) | |
tree | c790d9531832431c1a1e8018397cf2aaae4abd74 /kernel/smpboot.c | |
parent | 4b8857c3ca439ec968504f54ff5d60795be55d5d (diff) |
pwm: sysfs: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
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>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'kernel/smpboot.c')
0 files changed, 0 insertions, 0 deletions