]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: mediatek: mt8183: remove unused DAPM-related variables
authorTzung-Bi Shih <tzungbi@google.com>
Mon, 26 Aug 2019 03:26:42 +0000 (11:26 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 27 Aug 2019 18:21:46 +0000 (19:21 +0100)
Remove unused variable mt8183_mt6358_ts3a227_max98357_dapm_widgets and
mt8183_mt6358_ts3a227_max98357_dapm_routes.  They are accidentially
included when rebasing commits.

Fixes: b517aaef9485 ("ASoC: mediatek: mt8183: switch tdm pins gpio function when playback on or off")
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20190826032642.27324-1-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c

index fe8a7461ace5f2bf82e73e4e27235bbab01af5f7..951706fa75fc78ffc160503678c7bf0f88b36600 100644 (file)
@@ -46,16 +46,6 @@ static int mt8183_i2s_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
        return 0;
 }
 
-static const struct snd_soc_dapm_widget
-mt8183_mt6358_ts3a227_max98357_dapm_widgets[] = {
-       SND_SOC_DAPM_OUTPUT("IT6505_8CH"),
-};
-
-static const struct snd_soc_dapm_route
-mt8183_mt6358_ts3a227_max98357_dapm_routes[] = {
-       {"IT6505_8CH", NULL, "TDM"},
-};
-
 enum PINCTRL_PIN_STATE {
        PIN_STATE_DEFAULT = 0,
        PIN_TDM_OUT_ON,