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
This commit is contained in:
Oron Peled
2011-10-26 19:09:09 +00:00
committed by Tzafrir Cohen
parent 3fc23b4465
commit d556a1a57a
2 changed files with 3 additions and 3 deletions

View File

@@ -875,7 +875,7 @@ static int xbus_register_dahdi_device(xbus_t *xbus)
int i;
int offset = 0;
XBUS_NOTICE(xbus, "Entering %s\n", __func__);
XBUS_DBG(DEVICES, xbus, "Entering %s\n", __func__);
xbus->ddev = dahdi_create_device();
/*
* This actually describe the dahdi_spaninfo version 3

View File

@@ -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;
}