diff options
author | Raag Jadav <raag.jadav@intel.com> | 2024-02-08 10:05:29 +0300 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-15 14:27:50 +0300 |
commit | 7cfce2b80d5ff7aa713a7710bfe3a562707cb226 (patch) | |
tree | 58780485e1b092fc66ed2cd4553780f3fe4ef3ac /drivers/pwm/pwm-cros-ec.c | |
parent | 5f623835584f1c8d1030666796f40c47a448ce0b (diff) | |
download | linux-7cfce2b80d5ff7aa713a7710bfe3a562707cb226.tar.xz |
pwm: dwc: use pm_sleep_ptr() macro
Since we don't have runtime PM handles here, we should be using
pm_sleep_ptr() macro, so that the compiler can discard it in case
CONFIG_PM_SLEEP=n.
Fixes: 30b5b066fa83 ("pwm: dwc: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions")
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240212130247.9985-2-raag.jadav@intel.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/pwm/pwm-cros-ec.c')
0 files changed, 0 insertions, 0 deletions