Merge branch 'pci_set_drvdata'
authorDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 06:12:31 +0000 (02:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 06:12:31 +0000 (02:12 -0400)
commit1b138131707670063f76e9a6edcb1c0a08031a28
tree847b7718ba238d07e29d420ff611337ad7c2805b
parentbda301c9dc545f81bd70c1eecb8572bfc5eb524c
parent877a22cdce206370534f58be2f57b9dcc7d476ae
Merge branch 'pci_set_drvdata'

Jingoo Han says:

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

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>