Skip to content

Commit

Permalink
staging: ft1000-usb: Change KERN_ERROR usage to pr_err in ft1000_usb.c.
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent 949f5a5 commit 626888d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static int ft1000_probe(struct usb_interface *interface,
ft1000dev = kzalloc(sizeof(struct ft1000_device), GFP_KERNEL);

if (!ft1000dev) {
printk(KERN_ERR "out of memory allocating device structure\n");
pr_err("out of memory allocating device structure\n");
return -ENOMEM;
}

Expand Down Expand Up @@ -138,7 +138,7 @@ static int ft1000_probe(struct usb_interface *interface,

ret = request_firmware(&dsp_fw, "ft3000.img", &dev->dev);
if (ret < 0) {
printk(KERN_ERR "Error request_firmware().\n");
pr_err("Error request_firmware().\n");
goto err_fw;
}

Expand Down Expand Up @@ -166,7 +166,7 @@ static int ft1000_probe(struct usb_interface *interface,
DEBUG("In probe: pft1000info=%p\n", pft1000info);
ret = dsp_reload(ft1000dev);
if (ret) {
printk(KERN_ERR "Problem with DSP image loading\n");
pr_err("Problem with DSP image loading\n");
goto err_load;
}

Expand Down

0 comments on commit 626888d

Please sign in to comment.