diff options
Diffstat (limited to 'drivers/net/irda/irtty-sir.c')
-rw-r--r-- | drivers/net/irda/irtty-sir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/irda/irtty-sir.c b/drivers/net/irda/irtty-sir.c index abbb654c0666..696852eb23c3 100644 --- a/drivers/net/irda/irtty-sir.c +++ b/drivers/net/irda/irtty-sir.c | |||
@@ -240,7 +240,7 @@ static void irtty_receive_buf(struct tty_struct *tty, const unsigned char *cp, | |||
240 | * Characters received with a parity error, etc? | 240 | * Characters received with a parity error, etc? |
241 | */ | 241 | */ |
242 | if (fp && *fp++) { | 242 | if (fp && *fp++) { |
243 | IRDA_DEBUG(0, "Framing or parity error!\n"); | 243 | pr_debug("Framing or parity error!\n"); |
244 | sirdev_receive(dev, NULL, 0); /* notify sir_dev (updating stats) */ | 244 | sirdev_receive(dev, NULL, 0); /* notify sir_dev (updating stats) */ |
245 | return; | 245 | return; |
246 | } | 246 | } |
@@ -387,7 +387,7 @@ static int irtty_ioctl(struct tty_struct *tty, struct file *file, unsigned int c | |||
387 | IRDA_ASSERT(priv != NULL, return -ENODEV;); | 387 | IRDA_ASSERT(priv != NULL, return -ENODEV;); |
388 | IRDA_ASSERT(priv->magic == IRTTY_MAGIC, return -EBADR;); | 388 | IRDA_ASSERT(priv->magic == IRTTY_MAGIC, return -EBADR;); |
389 | 389 | ||
390 | IRDA_DEBUG(3, "%s(cmd=0x%X)\n", __func__, cmd); | 390 | pr_debug("%s(cmd=0x%X)\n", __func__, cmd); |
391 | 391 | ||
392 | dev = priv->dev; | 392 | dev = priv->dev; |
393 | IRDA_ASSERT(dev != NULL, return -1;); | 393 | IRDA_ASSERT(dev != NULL, return -1;); |
@@ -477,7 +477,7 @@ static int irtty_open(struct tty_struct *tty) | |||
477 | 477 | ||
478 | mutex_unlock(&irtty_mutex); | 478 | mutex_unlock(&irtty_mutex); |
479 | 479 | ||
480 | IRDA_DEBUG(0, "%s - %s: irda line discipline opened\n", __func__, tty->name); | 480 | pr_debug("%s - %s: irda line discipline opened\n", __func__, tty->name); |
481 | 481 | ||
482 | return 0; | 482 | return 0; |
483 | 483 | ||
@@ -528,7 +528,7 @@ static void irtty_close(struct tty_struct *tty) | |||
528 | 528 | ||
529 | kfree(priv); | 529 | kfree(priv); |
530 | 530 | ||
531 | IRDA_DEBUG(0, "%s - %s: irda line discipline closed\n", __func__, tty->name); | 531 | pr_debug("%s - %s: irda line discipline closed\n", __func__, tty->name); |
532 | } | 532 | } |
533 | 533 | ||
534 | /* ------------------------------------------------------- */ | 534 | /* ------------------------------------------------------- */ |