[alsa-devel] [PATCH 06/16] ASoC: rt5668: use devm_snd_soc_register_component()

Mark Brown broonie at kernel.org
Mon Sep 10 16:08:16 CEST 2018


On Fri, Sep 07, 2018 at 01:01:34AM +0000, Kuninori Morimoto wrote:

>  static int rt5668_i2c_remove(struct i2c_client *i2c)
>  {
> -	snd_soc_unregister_component(&i2c->dev);
> -
>  	return 0;
>  }

This one is fine but the function is now empty so should be removed
entirely.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180910/efcfebe3/attachment.sig>


More information about the Alsa-devel mailing list