USB: remove info() macro from usb mtd drivers
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Aug 2008 20:21:04 +0000 (13:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:10 +0000 (14:41 -0700)
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.

Acked-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mtd/nand/alauda.c

index 257937c..9623803 100644 (file)
@@ -691,7 +691,7 @@ static int alauda_probe(struct usb_interface *interface,
        al[0].port = ALAUDA_PORT_XD;
        al[1].port = ALAUDA_PORT_SM;
 
-       info("alauda probed");
+       dev_info(&interface->dev, "alauda probed\n");
        alauda_check_media(al);
        alauda_check_media(al+1);
 
@@ -716,7 +716,7 @@ static void alauda_disconnect(struct usb_interface *interface)
        if (al)
                kref_put(&al->kref, alauda_delete);
 
-       info("alauda gone");
+       dev_info(&interface->dev, "alauda gone");
 }
 
 static struct usb_driver alauda_driver = {