summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/kingsun-sir.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-08-18 13:21:04 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 14:41:10 -0700
commit880c9c66a60c0aa4fb4dac2da9679da5f8f41903 (patch)
treeb5053854a7c97447b554f9cd3afbb32fbb7e478c /drivers/net/irda/kingsun-sir.c
parent5909f6ea2bc7f785ceb1bed14c670946a536ff2d (diff)
downloadlinux-880c9c66a60c0aa4fb4dac2da9679da5f8f41903.tar.gz
linux-880c9c66a60c0aa4fb4dac2da9679da5f8f41903.tar.bz2
linux-880c9c66a60c0aa4fb4dac2da9679da5f8f41903.zip
USB: remove info() macro from usb network drivers
USB should not be having it's own printk macros, so remove info() and use the system-wide standard of dev_info() wherever possible. Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/irda/kingsun-sir.c')
-rw-r--r--drivers/net/irda/kingsun-sir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/irda/kingsun-sir.c b/drivers/net/irda/kingsun-sir.c
index 73fe83be34fe..e1429fc6d050 100644
--- a/drivers/net/irda/kingsun-sir.c
+++ b/drivers/net/irda/kingsun-sir.c
@@ -540,7 +540,8 @@ static int kingsun_probe(struct usb_interface *intf,
if (ret != 0)
goto free_mem;
- info("IrDA: Registered KingSun/DonShine device %s", net->name);
+ dev_info(&net->dev, "IrDA: Registered KingSun/DonShine device %s\n",
+ net->name);
usb_set_intfdata(intf, kingsun);