Commit 9384262a authored by Robert Hancock's avatar Robert Hancock Committed by Greg Kroah-Hartman
Browse files

net: axienet: Clean up device used for DMA calls



[ Upstream commit 17882fd4 ]

Instead of using lp->ndev.parent to find the correct device to use for
DMA API calls, just use the dev attribute in the device structure.

Signed-off-by: default avatarRobert Hancock <robert.hancock@calian.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 5a6caa2c ("net: xilinx: axienet: Fix packet counting")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 043dc922
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment