[alsa-devel] [PATCH] ASoC: davinci-evm: drop un-necessary remove function

Mark Brown broonie at kernel.org
Thu Mar 26 18:02:45 CET 2015


On Thu, Mar 26, 2015 at 03:38:25PM +0200, Jyri Sarha wrote:
> From: Manish Badarkhe <manishvb at ti.com>
> 
> As davinci card gets registered using 'devm_' api
> there is no need to unregister the card in 'remove'
> function.
> Hence drop the 'remove' function.

Not only that but the current remove function creates a double free.
Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150326/acda6a2a/attachment.sig>


More information about the Alsa-devel mailing list