summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs35l41-lib.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-12-13 10:02:54 +0100
committerJeffrey Hugo <quic_jhugo@quicinc.com>2024-12-13 11:09:42 -0700
commite5a8f19c39d769c2e4c0a4624576997ac41819bc (patch)
treecc76d3bc89eea0d71202a5d62847ea4fcbd3ee71 /sound/soc/codecs/cs35l41-lib.c
parentb690f5d955e033b9bd80de0486a04adf150f89a8 (diff)
accel/amdxdna: use modern PM helpersHEADfor-linux-nextdrm-misc-next
The old SET_SYSTEM_SLEEP_PM_OPS and SET_RUNTIME_PM_OPS macros cause a build warning when CONFIG_PM is disabled: drivers/accel/amdxdna/amdxdna_pci_drv.c:343:12: error: 'amdxdna_pmops_resume' defined but not used [-Werror=unused-function] 343 | static int amdxdna_pmops_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~ drivers/accel/amdxdna/amdxdna_pci_drv.c:328:12: error: 'amdxdna_pmops_suspend' defined but not used [-Werror=unused-function] 328 | static int amdxdna_pmops_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~ Change these to the modern replacements. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Lizhi Hou <lizhi.hou@amd.com> Tested-by: Lizhi Hou <lizhi.hou@amd.com> Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241213090259.68492-1-arnd@kernel.org
Diffstat (limited to 'sound/soc/codecs/cs35l41-lib.c')
0 files changed, 0 insertions, 0 deletions