r8169: switch from netif_xxx message functions to netdev_xxx
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 1 May 2020 17:26:22 +0000 (19:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 19:53:06 +0000 (12:53 -0700)
commit93882c6f210af5e318cdbe40b320053cff0fa033
treec60b586ce736efcaa2bea21f01198966fb8c70e4
parent3bf6ff3cec5d2b1d8185e76c7fae48ff7021ebd0
r8169: switch from netif_xxx message functions to netdev_xxx

Considering the few messages we have in the driver, there's not really
a benefit in being able to control them on a message type level.
Therefore simplify the code and switch to the netdev_xxx message
functions. In addition add net_ratelimit() to messages that can be
printed from a hot path.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c