Skip to content

Commit

Permalink
USB: remove info() macro from usb mtd drivers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gregkh committed Oct 17, 2008
1 parent 899ef6e commit b887265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/nand/alauda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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 = {
Expand Down

0 comments on commit b887265

Please sign in to comment.