]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt711: Add __maybe_unused to PM callbacks
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jan 2020 19:28:30 +0000 (20:28 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jan 2020 17:49:44 +0000 (17:49 +0000)
commitc590d5249b6e0ec69b694afbbde76a6e38077dc8
tree3e44a8bcbaa104db5815576a28ab921f50264c50
parent3fd4245e1d56cdae269e21b0aa57376db59da06c
ASoC: rt711: Add __maybe_unused to PM callbacks

Fix the compile warnings by adding __maybe_unused to PM callbacks:
  sound/soc/codecs/rt711-sdw.c:504:12: warning: ‘rt711_dev_resume’ defined but not used [-Wunused-function]
  sound/soc/codecs/rt711-sdw.c:490:12: warning: ‘rt711_dev_suspend’ defined but not used [-Wunused-function]

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