net: ena: Change log message to netif/dev function
authorShay Agroskin <shayagr@amazon.com>
Mon, 21 Sep 2020 08:37:37 +0000 (11:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 20:54:23 +0000 (13:54 -0700)
commitf0525298f3cce9c572f3fe2782d8070ef40884fa
tree0a2effd1279f9d167aac4eb39a6ae89915186dcc
parent2246cbc2c298ff923896284f301ecc3b6566df8a
net: ena: Change log message to netif/dev function

Make log prints in ena_netdev use the same log functions as the rest of
the driver.

For the sake of consistency, all prints in ena_netdev file were
converted into netif_* format except where netdev struct isn't yet
defined. For these places, dev_* log functions are used (similar to
the patch for ena_com files).

This commit leaves some corner cases which would be changed in a
future patch.

Signed-off-by: Amit Bernstein <amitbern@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c