Commit 6d602cf1 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: ft1000: Convert printk to dev_err in ft1000_cs.c

This patch converts printk to dev_err in ft1000_cs.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60814437
...@@ -95,20 +95,20 @@ static int ft1000_config(struct pcmcia_device *link) ...@@ -95,20 +95,20 @@ static int ft1000_config(struct pcmcia_device *link)
/* setup IO window */ /* setup IO window */
ret = pcmcia_loop_config(link, ft1000_confcheck, NULL); ret = pcmcia_loop_config(link, ft1000_confcheck, NULL);
if (ret) { if (ret) {
printk(KERN_INFO "ft1000: Could not configure pcmcia\n"); dev_err(&link->dev, "Could not configure pcmcia\n");
return -ENODEV; return -ENODEV;
} }
/* configure device */ /* configure device */
ret = pcmcia_enable_device(link); ret = pcmcia_enable_device(link);
if (ret) { if (ret) {
printk(KERN_INFO "ft1000: could not enable pcmcia\n"); dev_err(&link->dev, "Could not enable pcmcia\n");
goto failed; goto failed;
} }
link->priv = init_ft1000_card(link, &ft1000_reset); link->priv = init_ft1000_card(link, &ft1000_reset);
if (!link->priv) { if (!link->priv) {
printk(KERN_INFO "ft1000: Could not register as network device\n"); dev_err(&link->dev, "Could not register as network device\n");
goto failed; goto failed;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment