diff options
author | 2024-02-21 12:13:59 +0100 | |
---|---|---|
committer | 2024-02-21 16:34:33 +0100 | |
commit | a6f06b909fee72c679c565adfa7f080f9595e336 (patch) | |
tree | 100b92759905eefe839ca116f19c11a635a1f770 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | pinctrl: renesas: rzg2l: Add suspend/resume support (diff) | |
download | wireguard-linux-a6f06b909fee72c679c565adfa7f080f9595e336.tar.xz wireguard-linux-a6f06b909fee72c679c565adfa7f080f9595e336.zip |
pinctrl: renesas: Allow the compiler to optimize away sh_pfc_pm
The conversion to DEFINE_NOIRQ_DEV_PM_OPS() lost the ability of the
compiler to optimize away the struct dev_pm_ops object when it is not
needed.
Fix this by replacing the use of pm_sleep_ptr() by a custom wrapper.
Fixes: 727eb02eb753375e ("pinctrl: renesas: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/6238a78e32fa21f0c795406b6cba7bce7af92577.1708513940.git.geert+renesas@glider.be
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions