Merge branch 'pci_set_drvdata'
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 04:04:05 +0000 (00:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 04:04:05 +0000 (00:04 -0400)
commitbaf785bacc9f840104fc2dfedd2b72b5cbb4e103
treea04454b2567ea7ece9d3c35d5de58345cb0d8183
parent5cda73b68ebf7e08586d61e6777e64e12df23f07
parent6d2d83e6316611ca8aa6daa9919c41398ba2725d
Merge branch 'pci_set_drvdata'

Jingoo Han says:

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

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>