]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Merge branch 'pci_set_drvdata'
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Oct 2013 20:58:52 +0000 (16:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Oct 2013 20:58:52 +0000 (16:58 -0400)
commitdf33db0f5efe8895203d221b9e701c0a61832c76
treed1835e5b728f09bc269f14c042143b3070eab1db
parent305a3388b5b3121aff6b10054136b40ca91ab35b
parenta3b8a16b802469884c1597414911c8b4d2117674
Merge branch 'pci_set_drvdata'

Jingoo Han syas:

====================
ethernet: remove unnecessary pci_set_drvdata() part 4

Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>