summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-03-19 10:50:48 +0300
committerMark Brown <broonie@kernel.org>2018-03-20 04:03:05 +0300
commit83eca9f5eda6efff71515cb9c1a373b26d2d4c5b (patch)
treee13ee194061f721eb6856bafb4be56bfeae36fa3 /sound
parentc9d066650cd5adf4ed4bf5734386699e765222b7 (diff)
downloadlinux-83eca9f5eda6efff71515cb9c1a373b26d2d4c5b.tar.xz
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 <julia.lawall@lip6.fr> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/twl6040.c1
1 files changed, 0 insertions, 1 deletions
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),