]> asedeno.scripts.mit.edu Git - linux.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)
commit4099c3295e480907e37b93d51fc17fda81dd5bed
tree1ffe5244a5d494f90c8d000de43b4794f20663e0
parent973649d38e2664eb45e1ae9adfdce53626c29f94
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: d1ede0641b05 ("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