]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt1308-sdw: Add __maybe_unused to PM callbacks
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jan 2020 19:28:28 +0000 (20:28 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jan 2020 17:49:07 +0000 (17:49 +0000)
commit236c8421bc6600bddf22fd4e461b5e5a9c32ac53
tree47c51836e4bfadc087b698ef099fa1b3a32fe940
parent57e606c69fb7b9d711d6b02fcc5eee186970f765
ASoC: rt1308-sdw: Add __maybe_unused to PM callbacks

Fix the compile warnings by adding __maybe_unused to PM callbacks:
  sound/soc/codecs/rt1308-sdw.c:690:12: warning: ‘rt1308_dev_resume’ defined but not used [-Wunused-function]
  sound/soc/codecs/rt1308-sdw.c:676:12: warning: ‘rt1308_dev_suspend’ defined but not used [-Wunused-function]

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