提交 b887265c 编写于 作者: G Greg Kroah-Hartman

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: NDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 899ef6e7
...@@ -691,7 +691,7 @@ static int alauda_probe(struct usb_interface *interface, ...@@ -691,7 +691,7 @@ static int alauda_probe(struct usb_interface *interface,
al[0].port = ALAUDA_PORT_XD; al[0].port = ALAUDA_PORT_XD;
al[1].port = ALAUDA_PORT_SM; al[1].port = ALAUDA_PORT_SM;
info("alauda probed"); dev_info(&interface->dev, "alauda probed\n");
alauda_check_media(al); alauda_check_media(al);
alauda_check_media(al+1); alauda_check_media(al+1);
...@@ -716,7 +716,7 @@ static void alauda_disconnect(struct usb_interface *interface) ...@@ -716,7 +716,7 @@ static void alauda_disconnect(struct usb_interface *interface)
if (al) if (al)
kref_put(&al->kref, alauda_delete); kref_put(&al->kref, alauda_delete);
info("alauda gone"); dev_info(&interface->dev, "alauda gone");
} }
static struct usb_driver alauda_driver = { static struct usb_driver alauda_driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册