aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/printer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/printer.c')
-rw-r--r--drivers/usb/gadget/printer.c6
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);