diff options
author | Pavel Roskin <proski@gnu.org> | 2007-06-13 21:11:42 -0400 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2007-06-14 10:11:09 +0200 |
commit | ba70c3d8851f5af2110b1a8b5228c400014f5693 (patch) | |
tree | 00af551684b384515f45b33a6c63b1c667cfcb1f /at76_usb.h | |
parent | 4378f631f40b2f9186f2169119f052eae88ad565 (diff) |
[PATCH] Improve info messages, avoid printing full path
Never use __FILE__, as it prints full path to the driver, which is
rarely needed. Use DRIVER_NAME instead.
Replace all occurrences of info() with printk() calls. Ensure that the
messages are properly formatted and use the netdevice name if possible.
Print MAC address, firmware version and regulatory domain after the
device is registered, so we can provide the device name.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r-- | at76_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -682,7 +682,7 @@ struct at76_rx_radiotap { #define at76_dbg(bits, format, arg...) \ do { \ if (at76_debug & (bits)) \ - printk(KERN_DEBUG __FILE__ ": " format "\n" , ## arg);\ + printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , ## arg);\ } while (0) #define at76_assert(x) \ |