From: Kuninori Morimoto Date: Mon, 19 Mar 2018 07:50:48 +0000 (+0000) Subject: ASoC: twl6040: remove duplicated remove callback X-Git-Tag: microblaze-v4.18-rc1~14^2~11^2~11^3 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=83eca9f5eda6efff71515cb9c1a373b26d2d4c5b;p=linux-2.6-microblaze.git ASoC: twl6040: remove duplicated remove callback We don't need 2 .remove callback Fixes: 7480389fb0d8 ("ASoC: twl6040: replace codec to component") Reported-by: Julia Lawall Reported-by: kbuild test robot Signed-off-by: Kuninori Morimoto Acked-by: Peter Ujfalusi Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index b56a6471f9c4..bfd1abd72253 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -1158,7 +1158,6 @@ static const struct snd_soc_component_driver soc_component_dev_twl6040 = { .remove = twl6040_remove, .read = twl6040_read, .write = twl6040_write, - .remove = twl6040_remove, .set_bias_level = twl6040_set_bias_level, .controls = twl6040_snd_controls, .num_controls = ARRAY_SIZE(twl6040_snd_controls),