Re: [PATCH] ASoC: twl6040: remove duplicated remove callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2018-03-19 09:50, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> 
> We don't need 2 .remove callback
> 
> Fixes: 7480389fb0d8 ("ASoC: twl6040: replace codec to component")
> Reported-by: Julia Lawall <julia.lawall@xxxxxxx>
> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>

Acked-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>

> ---
>  sound/soc/codecs/twl6040.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
> index b56a647..bfd1abd 100644
> --- a/sound/soc/codecs/twl6040.c
> +++ b/sound/soc/codecs/twl6040.c
> @@ -1158,7 +1158,6 @@ static void twl6040_remove(struct snd_soc_component *component)
>  	.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),
> 

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux