igc: Use netdev log helpers in igc_ptp.c
authorAndre Guedes <andre.guedes@intel.com>
Wed, 25 Mar 2020 00:38:17 +0000 (17:38 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 May 2020 00:16:21 +0000 (17:16 -0700)
commit916a3c650763fbe1e1d37af105a82fee26da45a5
tree512cd7ac1464ad7fbaaede6cc1695f3d62dbf6ff
parent95f96a9f2d04b20c26fca405f640acea07cf8b53
igc: Use netdev log helpers in igc_ptp.c

In igc_ptp.c we print log messages using dev_* helpers, generating
inconsistent output with the rest of the driver. Since this is a network
device driver, we should preferably use netdev_* helpers because they
append the interface name to the message, helping making sense out of
the logs.

This patch converts all dev_* calls to netdev_*.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_ptp.c