ASoC: twl6040: remove duplicated remove callback
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 19 Mar 2018 07:50:48 +0000 (07:50 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 20 Mar 2018 01:03:05 +0000 (09:03 +0800)
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>
sound/soc/codecs/twl6040.c

index b56a647..bfd1abd 100644 (file)
@@ -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),