diff options
author | Ricardo Rivera-Matos <[email protected]> | 2023-12-06 10:03:16 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-12-06 23:06:55 +0000 |
commit | 12e102b1bd22ee00361559d57a5876445bcb2407 (patch) | |
tree | 692007366df9de5bbcdb4b542add09dc94f83616 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d20d36755a605a21e737b6b16c566658589b1811 (diff) |
ASoC: cs35l45: Use modern pm_ops
Make use of the recently introduced EXPORT_GPL_DEV_PM_OPS() macro, to
conditionally export the runtime/system PM functions.
Replace the old SET_{RUNTIME,SYSTEM_SLEEP,NOIRQ_SYSTEM_SLEEP}_PM_OPS()
helpers with their modern alternatives and get rid of the now
unnecessary '__maybe_unused' annotations on all PM functions.
Additionally, use the pm_ptr() macro to fix the following errors when
building with CONFIG_PM disabled:
Signed-off-by: Ricardo Rivera-Matos <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions