]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bf7c4bb730bce861e1451f5b21e90cbea4190b7
tree847b7718ba238d07e29d420ff611337ad7c2805b
parent6619d8546c0c5853ca2447165e0ead8e7aa04a79
parent110c66885d0e0a82dbf4ea9b6d99b5b2b1fa617d
Merge branch 'pci_set_drvdata'

Jingoo Han says:

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

Since commit bcb6fcf1119586a8b03889dfc51669b0ad6d4f95
(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>