aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2024-08-20 01:26:16 +0000
committerDaniel Lezcano <[email protected]>2024-09-02 11:17:53 +0000
commit41df03900dc586d556b99d4905bed2c1a2e83abf (patch)
treeff5fe092321fe2ff3efef86e97c50b0f7d4181b2 /security/selinux/hooks.c
parentthermal/drivers/qoriq: Remove __maybe_unused notations (diff)
downloadkernel-41df03900dc586d556b99d4905bed2c1a2e83abf.tar.gz
kernel-41df03900dc586d556b99d4905bed2c1a2e83abf.zip
thermal/drivers/imx: Remove __maybe_unused notations
Replace SET_RUNTIME_PM_OPS()/SET SYSTEM_SLEEP_PM_OPS() with their modern RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() alternatives. The combined usage of pm_ptr() and RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS() allows the compiler to evaluate if the runtime suspend/resume() functions are used at build time or are simply dead code. This allows removing __maybe_unused notations from the suspend/resume() functions. Signed-off-by: Fabio Estevam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions