]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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)
Jingoo Han says:

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

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>

Trivial merge