enetc: drop unneeded indirection
authorMichael Walle <michael@walle.cc>
Mon, 28 Dec 2020 13:00:31 +0000 (14:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2021 23:19:19 +0000 (15:19 -0800)
commit38d26b244367e84ed657ac4f5093ae9e71c8a7a2
tree055748e03c80de15ea4f4d004f93dee2f951c5ed
parentf6e7a024bfe5e11d91ccff46bb576e3fb5a516ea
enetc: drop unneeded indirection

Before commit 6517798dd343 ("enetc: Make MDIO accessors more generic and
export to include/linux/fsl") these macros actually had some benefits.
But after the commit it just makes the code hard to read. Drop the macro
indirections.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_mdio.c