diff options
| author | Uwe Kleine-König <[email protected]> | 2023-10-23 19:46:28 +0200 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2023-12-20 16:04:13 +0100 |
| commit | fb1b517fd87649add1e8acb813f4f8af5a28d4d9 (patch) | |
| tree | b22c41dc67f9356ee6b4b01173d6b834a43e4181 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | 5d5a0aa5e261eaaea81de4f30c26d22323026714 (diff) | |
pwm: tiehrpwm: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
This macro has the advantage over SIMPLE_DEV_PM_OPS that we don't have to
care about when the functions are actually used, so the corresponding
#ifdef can be dropped.
Also make use of pm_ptr() to discard all PM related stuff if CONFIG_PM
isn't enabled.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions