diff options
Diffstat (limited to 'drivers/net/irda/stir4200.c')
-rw-r--r-- | drivers/net/irda/stir4200.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/irda/stir4200.c b/drivers/net/irda/stir4200.c index 148ce2803b00..3575804fd7c6 100644 --- a/drivers/net/irda/stir4200.c +++ b/drivers/net/irda/stir4200.c | |||
@@ -783,8 +783,9 @@ static int stir_transmit_thread(void *arg) | |||
783 | 783 | ||
784 | if (unlikely(receive_start(stir))) { | 784 | if (unlikely(receive_start(stir))) { |
785 | if (net_ratelimit()) | 785 | if (net_ratelimit()) |
786 | info("%s: receive usb submit failed", | 786 | dev_info(&dev->dev, |
787 | stir->netdev->name); | 787 | "%s: receive usb submit failed\n", |
788 | stir->netdev->name); | ||
788 | stir->receiving = 0; | 789 | stir->receiving = 0; |
789 | msleep(10); | 790 | msleep(10); |
790 | continue; | 791 | continue; |
@@ -1073,7 +1074,8 @@ static int stir_probe(struct usb_interface *intf, | |||
1073 | if (ret != 0) | 1074 | if (ret != 0) |
1074 | goto err_out2; | 1075 | goto err_out2; |
1075 | 1076 | ||
1076 | info("IrDA: Registered SigmaTel device %s", net->name); | 1077 | dev_info(&intf->dev, "IrDA: Registered SigmaTel device %s\n", |
1078 | net->name); | ||
1077 | 1079 | ||
1078 | usb_set_intfdata(intf, stir); | 1080 | usb_set_intfdata(intf, stir); |
1079 | 1081 | ||