Skip to content

Commit b887265

Browse files
committed
USB: remove info() macro from usb mtd 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. Acked-by: David Woodhouse <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 899ef6e commit b887265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mtd/nand/alauda.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ static int alauda_probe(struct usb_interface *interface,
691691
al[0].port = ALAUDA_PORT_XD;
692692
al[1].port = ALAUDA_PORT_SM;
693693

694-
info("alauda probed");
694+
dev_info(&interface->dev, "alauda probed\n");
695695
alauda_check_media(al);
696696
alauda_check_media(al+1);
697697

@@ -716,7 +716,7 @@ static void alauda_disconnect(struct usb_interface *interface)
716716
if (al)
717717
kref_put(&al->kref, alauda_delete);
718718

719-
info("alauda gone");
719+
dev_info(&interface->dev, "alauda gone");
720720
}
721721

722722
static struct usb_driver alauda_driver = {

0 commit comments

Comments
 (0)