diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-03 19:08:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 00:16:55 -0400 |
commit | 441b62c1edb986827154768d89bbac0ba779984f (patch) | |
tree | 13724c22d1b190a36f0ddbba38554e6c66bea6af /drivers/usb/gadget/printer.c | |
parent | 14722ef4acedc643f0b78b7165ceff2d300dae4d (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/printer.c')
-rw-r--r-- | drivers/usb/gadget/printer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/printer.c b/drivers/usb/gadget/printer.c index ecc1410073f4..76be75e3ab8f 100644 --- a/drivers/usb/gadget/printer.c +++ b/drivers/usb/gadget/printer.c | |||
@@ -915,7 +915,7 @@ static void printer_reset_interface(struct printer_dev *dev) | |||
915 | if (dev->interface < 0) | 915 | if (dev->interface < 0) |
916 | return; | 916 | return; |
917 | 917 | ||
918 | DBG(dev, "%s\n", __FUNCTION__); | 918 | DBG(dev, "%s\n", __func__); |
919 | 919 | ||
920 | if (dev->in) | 920 | if (dev->in) |
921 | usb_ep_disable(dev->in_ep); | 921 | usb_ep_disable(dev->in_ep); |
@@ -1284,7 +1284,7 @@ printer_disconnect(struct usb_gadget *gadget) | |||
1284 | struct printer_dev *dev = get_gadget_data(gadget); | 1284 | struct printer_dev *dev = get_gadget_data(gadget); |
1285 | unsigned long flags; | 1285 | unsigned long flags; |
1286 | 1286 | ||
1287 | DBG(dev, "%s\n", __FUNCTION__); | 1287 | DBG(dev, "%s\n", __func__); |
1288 | 1288 | ||
1289 | spin_lock_irqsave(&dev->lock, flags); | 1289 | spin_lock_irqsave(&dev->lock, flags); |
1290 | 1290 | ||
@@ -1300,7 +1300,7 @@ printer_unbind(struct usb_gadget *gadget) | |||
1300 | struct usb_request *req; | 1300 | struct usb_request *req; |
1301 | 1301 | ||
1302 | 1302 | ||
1303 | DBG(dev, "%s\n", __FUNCTION__); | 1303 | DBG(dev, "%s\n", __func__); |
1304 | 1304 | ||
1305 | /* Remove sysfs files */ | 1305 | /* Remove sysfs files */ |
1306 | device_destroy(usb_gadget_class, g_printer_devno); | 1306 | device_destroy(usb_gadget_class, g_printer_devno); |