]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: fix error in dpaa_remove()
authorMadalin Bucur <madalin.bucur@nxp.com>
Wed, 14 Mar 2018 13:37:29 +0000 (08:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Mar 2018 17:16:23 +0000 (13:16 -0400)
commit96749cdb6fb48eb3e51e5e146e4638f01bc484a8
treea4d9424c2b09f2eae807086efd9c0b2b3cf0fa40
parent40d9eddc6e05f921cf99ac0755f96426b27fccf6
dpaa_eth: fix error in dpaa_remove()

The recent changes that make the driver probing compatible with DSA
were not propagated in the dpa_remove() function, breaking the
module unload function. Using the proper device to address the issue.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c