]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'pci_set_drvdata'
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 21:21:39 +0000 (17:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 21:21:39 +0000 (17:21 -0400)
Jingoo Han says:

====================
net: ethernet: remove unnecessary pci_set_drvdata() part 2

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>

Trivial merge