ASoC: ak4458: Add ak4458_reset in device probe and remove
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 13 Sep 2022 08:26:34 +0000 (16:26 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 13 Sep 2022 14:06:04 +0000 (15:06 +0100)
commitda995e22fa7193b067f2545e63d726ffe36ba174
tree3acd96e46d1626fa59490478b0d8e57b95356826
parente2741d99420f2d961884649c1de6e19c9dace61f
ASoC: ak4458: Add ak4458_reset in device probe and remove

This patch fixup this warning when CONFIG_PM not defined

linux/sound/soc/codecs/ak4458.c:631:13: error: 'ak4458_reset' defined but\
        not used [-Werror=unused-function]
  631 | static void ak4458_reset(struct ak4458_priv *ak4458, bool active)
      |             ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixes: e9e7df88996d64 ("ASoC: ak4458: Remove component probe() and remove()")
Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1663057594-29141-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4458.c