diff options
author | Joe Perches <joe@perches.com> | 2013-04-13 23:03:18 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-14 23:41:49 +0400 |
commit | 375d6a1b428e28412913a0ef8e849d27f7d32a1e (patch) | |
tree | 88bea27e5de8f0ebb9c94346cfe8722a53e1cbc7 /drivers/net/ethernet/freescale/gianfar_ptp.c | |
parent | 31b7720c825934bca1c0f9f562b0c2dc25f7ae81 (diff) | |
download | linux-375d6a1b428e28412913a0ef8e849d27f7d32a1e.tar.xz |
gianfar: Use netdev_<level> when possible
Use a more current logging style.
Convert pr_<level> to netdev_<level> when a struct net_device is
available. Add pr_fmt and neaten other formats too.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar_ptp.c')
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar_ptp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar_ptp.c b/drivers/net/ethernet/freescale/gianfar_ptp.c index 2e5daee0438a..fe8e9e5cfb2b 100644 --- a/drivers/net/ethernet/freescale/gianfar_ptp.c +++ b/drivers/net/ethernet/freescale/gianfar_ptp.c @@ -17,6 +17,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/device.h> #include <linux/hrtimer.h> #include <linux/init.h> |