On Mon, 04 Sep 2017 16:31:03 +0200, Daniel Baluta wrote: > > On Lu, 2017-09-04 at 15:54 +0200, Takashi Iwai wrote: > > 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] > > > > Isn't it better to guard it with CONFIG_PM? It's a matter of taste, and people seem prefer this option nowadays, so I follow that style. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel