diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-20 19:53:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-20 19:53:45 -0400 |
commit | 1c2eef03e498e92a924972ba237559b6798943d8 (patch) | |
tree | e077cb768911b3aaba00eb473e28115c80384286 /drivers/usb/misc | |
parent | ef1ffb7296a19958b7575b382b7b0343bd441646 (diff) |
USB: iowarrior.c: remove err() usage
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r-- | drivers/usb/misc/iowarrior.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c index 4fd0dc835ae5..db46143c67a6 100644 --- a/drivers/usb/misc/iowarrior.c +++ b/drivers/usb/misc/iowarrior.c | |||
@@ -610,8 +610,8 @@ static int iowarrior_open(struct inode *inode, struct file *file) | |||
610 | interface = usb_find_interface(&iowarrior_driver, subminor); | 610 | interface = usb_find_interface(&iowarrior_driver, subminor); |
611 | if (!interface) { | 611 | if (!interface) { |
612 | mutex_unlock(&iowarrior_mutex); | 612 | mutex_unlock(&iowarrior_mutex); |
613 | err("%s - error, can't find device for minor %d", __func__, | 613 | printk(KERN_ERR "%s - error, can't find device for minor %d\n", |
614 | subminor); | 614 | __func__, subminor); |
615 | return -ENODEV; | 615 | return -ENODEV; |
616 | } | 616 | } |
617 | 617 | ||