diff options
author | Joe Perches <joe@perches.com> | 2013-04-13 19:03:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-14 15:41:49 -0400 |
commit | 375d6a1b428e28412913a0ef8e849d27f7d32a1e (patch) | |
tree | 88bea27e5de8f0ebb9c94346cfe8722a53e1cbc7 /drivers/net/ethernet/freescale/gianfar_ptp.c | |
parent | 31b7720c825934bca1c0f9f562b0c2dc25f7ae81 (diff) | |
download | op-kernel-dev-375d6a1b428e28412913a0ef8e849d27f7d32a1e.zip op-kernel-dev-375d6a1b428e28412913a0ef8e849d27f7d32a1e.tar.gz |
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 2e5daee..fe8e9e5 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> |