]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt715: Add __maybe_unused to PM callbacks
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jan 2020 19:28:31 +0000 (20:28 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jan 2020 17:50:02 +0000 (17:50 +0000)
commit1164df2faeabf52319cb4d2ce3d6495f8ce9fc7b
tree1ffe5244a5d494f90c8d000de43b4794f20663e0
parentc590d5249b6e0ec69b694afbbde76a6e38077dc8
ASoC: rt715: Add __maybe_unused to PM callbacks

Fix the compile warnings by adding __maybe_unused to PM callbacks:
  sound/soc/codecs/rt715-sdw.c:566:12: warning: ‘rt715_dev_resume’ defined but not used [-Wunused-function]
  sound/soc/codecs/rt715-sdw.c:552:12: warning: ‘rt715_dev_suspend’ defined but not used [-Wunused-function]

Fixes: 72b650195b70 ("ASoC: rt715: add RT715 codec driver")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200127192831.14057-5-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt715-sdw.c