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/misc/usblcd.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/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 | ||