diff options
author | 2023-10-23 19:46:28 +0200 | |
---|---|---|
committer | 2023-12-20 16:04:13 +0100 | |
commit | fb1b517fd87649add1e8acb813f4f8af5a28d4d9 (patch) | |
tree | b22c41dc67f9356ee6b4b01173d6b834a43e4181 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | pwm: tiecap: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions (diff) | |
download | wireguard-linux-fb1b517fd87649add1e8acb813f4f8af5a28d4d9.tar.xz wireguard-linux-fb1b517fd87649add1e8acb813f4f8af5a28d4d9.zip |
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions