[alsa-devel] [PATCH 2/3] ASoC: ep93xx-i2s: Remove unnecessary dev_set_drvdata()

Mark Brown broonie at kernel.org
Thu Aug 29 14:21:59 CEST 2013

On Mon, Aug 26, 2013 at 09:25:14AM -0300, Fabio Estevam wrote:
> Driver core clears the driver data to NULL after device_release or on probe
> failure, so just remove it from here.

Applied, thanks.  The actual thing here is a bit deeper - if anything
ever relies on the driver data being set after remove() it's buggy
anyway, setting it to NULL at all is pretty much ornamental.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130829/ba5ca014/attachment.sig>

More information about the Alsa-devel mailing list