ASoC: cs43130: Fix unused compiler warnings for PM runtime
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Sep 2017 13:54:48 +0000 (15:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 Sep 2017 14:45:12 +0000 (15:45 +0100)
commit7051334672e54fae67e02d5d3296fb62b3343be7
tree48f9a4a22997c463ce0a94df6680ed4ad7668220
parentf31877a16b0926dea4d1d9b72917a3eca9be19b6
ASoC: cs43130: Fix unused compiler warnings for PM runtime

Add __maybe_unused prefix for addressing the following warnings:
  sound/soc/codecs/cs43130.c:2615:12: warning: ‘cs43130_runtime_resume’ defined but not used [-Wunused-function]
  sound/soc/codecs/cs43130.c:2596:12: warning: ‘cs43130_runtime_suspend’ defined but not used [-Wunused-function]

Fixes: 8f1e5bf9b440 ("ASoC: cs43130: Add support for CS43130 codec")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs43130.c