aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-lpss.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-09-27 16:24:19 +0000
committerThierry Reding <[email protected]>2022-09-28 14:18:57 +0000
commit163bb6f99312d50604783b35f0837f1fa89fefc1 (patch)
tree583d005844e18cfb72e88c6846cb0f6f7227c269 /drivers/pwm/pwm-lpss.c
parentpwm: lpss: Use device_get_match_data() to get device data (diff)
downloadkernel-163bb6f99312d50604783b35f0837f1fa89fefc1.tar.gz
kernel-163bb6f99312d50604783b35f0837f1fa89fefc1.zip
pwm: lpss: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
Using these new macros allows the compiler to remove the unused dev_pm_ops structure and related functions if !CONFIG_PM without the need to mark the functions __maybe_unused. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-lpss.c')
0 files changed, 0 insertions, 0 deletions