diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-08-26 20:07:13 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-09-28 15:07:53 +0300 |
commit | f36216724b25f16f2118f3a983d13cafcdc31d5a (patch) | |
tree | c790d9531832431c1a1e8018397cf2aaae4abd74 /Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | |
parent | 4b8857c3ca439ec968504f54ff5d60795be55d5d (diff) | |
download | linux-f36216724b25f16f2118f3a983d13cafcdc31d5a.tar.xz |
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 'Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml')
0 files changed, 0 insertions, 0 deletions