diff options
Diffstat (limited to 'drivers/usb/misc/usblcd.c')
-rw-r--r-- | drivers/usb/misc/usblcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c index 20777d01db62..ada7bf898fe9 100644 --- a/drivers/usb/misc/usblcd.c +++ b/drivers/usb/misc/usblcd.c | |||
@@ -78,7 +78,7 @@ static int lcd_open(struct inode *inode, struct file *file) | |||
78 | interface = usb_find_interface(&lcd_driver, subminor); | 78 | interface = usb_find_interface(&lcd_driver, subminor); |
79 | if (!interface) { | 79 | if (!interface) { |
80 | err ("USBLCD: %s - error, can't find device for minor %d", | 80 | err ("USBLCD: %s - error, can't find device for minor %d", |
81 | __FUNCTION__, subminor); | 81 | __func__, subminor); |
82 | return -ENODEV; | 82 | return -ENODEV; |
83 | } | 83 | } |
84 | 84 | ||
@@ -193,7 +193,7 @@ static void lcd_write_bulk_callback(struct urb *urb) | |||
193 | status == -ECONNRESET || | 193 | status == -ECONNRESET || |
194 | status == -ESHUTDOWN)) { | 194 | status == -ESHUTDOWN)) { |
195 | dbg("USBLCD: %s - nonzero write bulk status received: %d", | 195 | dbg("USBLCD: %s - nonzero write bulk status received: %d", |
196 | __FUNCTION__, status); | 196 | __func__, status); |
197 | } | 197 | } |
198 | 198 | ||
199 | /* free up our allocated buffer */ | 199 | /* free up our allocated buffer */ |
@@ -248,7 +248,7 @@ static ssize_t lcd_write(struct file *file, const char __user * user_buffer, siz | |||
248 | /* send the data out the bulk port */ | 248 | /* send the data out the bulk port */ |
249 | retval = usb_submit_urb(urb, GFP_KERNEL); | 249 | retval = usb_submit_urb(urb, GFP_KERNEL); |
250 | if (retval) { | 250 | if (retval) { |
251 | err("USBLCD: %s - failed submitting write urb, error %d", __FUNCTION__, retval); | 251 | err("USBLCD: %s - failed submitting write urb, error %d", __func__, retval); |
252 | goto error_unanchor; | 252 | goto error_unanchor; |
253 | } | 253 | } |
254 | 254 | ||