diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-10-26 19:09:09 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-10-26 19:09:09 +0000 |
commit | a943183eda02a86dad5a51f296e3a47965fc0354 (patch) | |
tree | 865365699c7816c4b6662822667d70647542090d /drivers/dahdi/xpp/xpp_dahdi.c | |
parent | 57b38901e525550b30519f8ce13bb51c2e3353a0 (diff) |
xpp: cleanup some printk()'s
* Also demote them to DBG()
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10287 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.c')
-rw-r--r-- | drivers/dahdi/xpp/xpp_dahdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c index 96e9fde..1b596ae 100644 --- a/drivers/dahdi/xpp/xpp_dahdi.c +++ b/drivers/dahdi/xpp/xpp_dahdi.c @@ -985,7 +985,6 @@ static void xpd_init_span(xpd_t *xpd, unsigned offset, int cn) struct dahdi_span *span; int i; - XPD_NOTICE(xpd, "Initializing span(offset=%d): %d channels.\n", offset, cn); memset(&PHONEDEV(xpd).span, 0, sizeof(struct dahdi_span)); for (i = 0; i < cn; i++) memset(XPD_CHAN(xpd, i), 0, sizeof(struct dahdi_chan)); @@ -1029,7 +1028,8 @@ int xpd_dahdi_preregister(xpd_t *xpd, unsigned offset) cn = PHONEDEV(xpd).channels; xpd_init_span(xpd, offset, cn); - XPD_DBG(GENERAL, xpd, "Registering span '%s'\n", PHONEDEV(xpd).span.desc); + XPD_DBG(DEVICES, xpd, "Preregister local span %d: %d channels.\n", + offset + 1, cn); CALL_PHONE_METHOD(card_dahdi_preregistration, xpd, 1); return 0; } |