diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-10-23 20:46:27 +0300 |
|---|---|---|
| committer | Thierry Reding <thierry.reding@gmail.com> | 2023-12-20 18:04:13 +0300 |
| commit | 5d5a0aa5e261eaaea81de4f30c26d22323026714 (patch) | |
| tree | d614b55a895bb1029e19e855d8ef4e271ed7fdd8 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 3d67277607c755160531ebd6b756ffd7195de627 (diff) | |
| download | linux-5d5a0aa5e261eaaea81de4f30c26d22323026714.tar.xz | |
pwm: tiecap: 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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
