net: stmmac: dwmac-meson8b: only keep struct device around
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 17 Feb 2018 14:08:19 +0000 (15:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Feb 2018 16:26:31 +0000 (11:26 -0500)
commitb756371e10d7809d77ac7f1f0b37a29e17e6a889
tree232c5bec3ef0dba0f54282d33b9740e90414d2a0
parent11184a5f6117de49390d4862fbc7a28c7ebfdce0
net: stmmac: dwmac-meson8b: only keep struct device around

Nothing in the dwmac-meson8b driver (except .probe itself) requires the
platform_device anymore after .probe has finished. Replace it with a
pointer to struct device since this is what the functions inside the
driver are actually accessing.
No functional changes.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c