USB: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
14722ef4ac
commit
441b62c1ed
@@ -218,7 +218,7 @@ exit:
|
||||
retval = usb_submit_urb(urb, GFP_ATOMIC);
|
||||
if (retval)
|
||||
dev_err(&dev->interface->dev, "%s - usb_submit_urb failed with result %d\n",
|
||||
__FUNCTION__, retval);
|
||||
__func__, retval);
|
||||
|
||||
}
|
||||
|
||||
@@ -453,7 +453,7 @@ static ssize_t iowarrior_write(struct file *file,
|
||||
default:
|
||||
/* what do we have here ? An unsupported Product-ID ? */
|
||||
dev_err(&dev->interface->dev, "%s - not supported for product=0x%x\n",
|
||||
__FUNCTION__, dev->product_id);
|
||||
__func__, dev->product_id);
|
||||
retval = -EFAULT;
|
||||
goto exit;
|
||||
break;
|
||||
@@ -604,7 +604,7 @@ static int iowarrior_open(struct inode *inode, struct file *file)
|
||||
|
||||
interface = usb_find_interface(&iowarrior_driver, subminor);
|
||||
if (!interface) {
|
||||
err("%s - error, can't find device for minor %d", __FUNCTION__,
|
||||
err("%s - error, can't find device for minor %d", __func__,
|
||||
subminor);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
Reference in New Issue
Block a user