]> git.baikalelectronics.ru Git - kernel.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)
commitbba485df1f7ee64991dab1c9bf0768a43190c5f6
treed1835e5b728f09bc269f14c042143b3070eab1db
parentb95df9432fe7e4f687b9c248ebec93524666b92a
parente5a6a532880283a1bc77f58b82b827da03c7fb58
Merge branch 'pci_set_drvdata'

Jingoo Han syas:

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

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