diff options
author | David Vrabel <david.vrabel@csr.com> | 2008-12-22 13:22:50 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2008-12-22 13:22:50 -0500 |
commit | bce83697c5fe84a7a5d38c96fbbe43b4bc028c3e (patch) | |
tree | b8e920af66f5b4de509e95a7295cedbe42878dd6 /drivers/uwb/beacon.c | |
parent | 02f11ee181baa562df23e105ba930902f0d0b1bf (diff) |
uwb: use dev_dbg() for debug messages
Instead of the home-grown d_fnstart(), d_fnend() and d_printf() macros,
use dev_dbg() or remove the message entirely.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/uwb/beacon.c')
-rw-r--r-- | drivers/uwb/beacon.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/uwb/beacon.c b/drivers/uwb/beacon.c index d9c60cb94993..0315093e2216 100644 --- a/drivers/uwb/beacon.c +++ b/drivers/uwb/beacon.c | |||
@@ -22,19 +22,16 @@ | |||
22 | * | 22 | * |
23 | * FIXME: docs | 23 | * FIXME: docs |
24 | */ | 24 | */ |
25 | |||
26 | #include <linux/kernel.h> | 25 | #include <linux/kernel.h> |
27 | #include <linux/init.h> | 26 | #include <linux/init.h> |
28 | #include <linux/module.h> | 27 | #include <linux/module.h> |
29 | #include <linux/device.h> | 28 | #include <linux/device.h> |
30 | #include <linux/err.h> | 29 | #include <linux/err.h> |
31 | #include <linux/kdev_t.h> | 30 | #include <linux/kdev_t.h> |
32 | #include "uwb-internal.h" | ||
33 | 31 | ||
34 | #define D_LOCAL 0 | 32 | #include "uwb-internal.h" |
35 | #include <linux/uwb/debug.h> | ||
36 | 33 | ||
37 | /** Start Beaconing command structure */ | 34 | /* Start Beaconing command structure */ |
38 | struct uwb_rc_cmd_start_beacon { | 35 | struct uwb_rc_cmd_start_beacon { |
39 | struct uwb_rccb rccb; | 36 | struct uwb_rccb rccb; |
40 | __le16 wBPSTOffset; | 37 | __le16 wBPSTOffset; |
@@ -176,9 +173,6 @@ struct uwb_beca_e *__uwb_beca_find_bydev(struct uwb_rc *rc, | |||
176 | { | 173 | { |
177 | struct uwb_beca_e *bce, *next; | 174 | struct uwb_beca_e *bce, *next; |
178 | list_for_each_entry_safe(bce, next, &rc->uwb_beca.list, node) { | 175 | list_for_each_entry_safe(bce, next, &rc->uwb_beca.list, node) { |
179 | d_printf(6, NULL, "looking for addr %02x:%02x in %02x:%02x\n", | ||
180 | dev_addr->data[0], dev_addr->data[1], | ||
181 | bce->dev_addr.data[0], bce->dev_addr.data[1]); | ||
182 | if (!memcmp(&bce->dev_addr, dev_addr, sizeof(bce->dev_addr))) | 176 | if (!memcmp(&bce->dev_addr, dev_addr, sizeof(bce->dev_addr))) |
183 | goto out; | 177 | goto out; |
184 | } | 178 | } |