diff options
author | Joe Perches <joe@perches.com> | 2013-04-13 23:03:17 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-14 23:41:49 +0400 |
commit | 31b7720c825934bca1c0f9f562b0c2dc25f7ae81 (patch) | |
tree | a65e5bec9cac783878e6b24c841ab3f172de09da /drivers/net/ethernet/freescale/fec_ptp.c | |
parent | bece1b9708434b6fb90b029affc228fc21688404 (diff) | |
download | linux-31b7720c825934bca1c0f9f562b0c2dc25f7ae81.tar.xz |
fec: Convert printks to netdev_<level>
Use a more current logging message style.
Convert the printks where a struct net_device is available to
netdev_<level>. Convert the other printks to pr_<level> and
add pr_fmt where appropriate.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_ptp.c')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_ptp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_ptp.c b/drivers/net/ethernet/freescale/fec_ptp.c index e040c8b2733a..25fc960cbf0e 100644 --- a/drivers/net/ethernet/freescale/fec_ptp.c +++ b/drivers/net/ethernet/freescale/fec_ptp.c @@ -17,6 +17,8 @@ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> |