net: stmmac: replace if (netif_msg_type) by their netif_xxx counterpart
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Wed, 16 Nov 2016 19:09:41 +0000 (20:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2016 18:30:30 +0000 (13:30 -0500)
commitb3e51069627e2b9439757590d7b82be0d22c7779
tree0381779a4613d9c4e80d9588f6704065ebc1703e
parentde9a2165a576ca262d8cb68d8c9c016b8ab3678f
net: stmmac: replace if (netif_msg_type) by their netif_xxx counterpart

As sugested by Joe Perches, we could replace all
if (netif_msg_type(priv)) dev_xxx(priv->devices, ...)
by the simpler macro netif_xxx(priv, hw, priv->dev, ...)

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c