diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-05 11:36:18 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-16 14:45:58 -0400 |
commit | ea3e6c59266b783b103c0f42a8de5dbe565a43d4 (patch) | |
tree | b9dce06a3180e4a64eaa1dd3b45e8e070e39c315 /drivers/input/mouse | |
parent | f26a3988917913b3d11b2bd741601a2c64ab9204 (diff) |
Input: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r-- | drivers/input/mouse/appletouch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/mouse/appletouch.c b/drivers/input/mouse/appletouch.c index 8dd3942f3022..32c29400f872 100644 --- a/drivers/input/mouse/appletouch.c +++ b/drivers/input/mouse/appletouch.c | |||
@@ -287,7 +287,7 @@ static void atp_reinit(struct work_struct *work) | |||
287 | retval = usb_submit_urb(dev->urb, GFP_ATOMIC); | 287 | retval = usb_submit_urb(dev->urb, GFP_ATOMIC); |
288 | if (retval) { | 288 | if (retval) { |
289 | err("%s - usb_submit_urb failed with result %d", | 289 | err("%s - usb_submit_urb failed with result %d", |
290 | __FUNCTION__, retval); | 290 | __func__, retval); |
291 | } | 291 | } |
292 | } | 292 | } |
293 | 293 | ||
@@ -379,11 +379,11 @@ static void atp_complete(struct urb* urb) | |||
379 | case -ESHUTDOWN: | 379 | case -ESHUTDOWN: |
380 | /* This urb is terminated, clean up */ | 380 | /* This urb is terminated, clean up */ |
381 | dbg("%s - urb shutting down with status: %d", | 381 | dbg("%s - urb shutting down with status: %d", |
382 | __FUNCTION__, urb->status); | 382 | __func__, urb->status); |
383 | return; | 383 | return; |
384 | default: | 384 | default: |
385 | dbg("%s - nonzero urb status received: %d", | 385 | dbg("%s - nonzero urb status received: %d", |
386 | __FUNCTION__, urb->status); | 386 | __func__, urb->status); |
387 | goto exit; | 387 | goto exit; |
388 | } | 388 | } |
389 | 389 | ||
@@ -565,7 +565,7 @@ exit: | |||
565 | retval = usb_submit_urb(dev->urb, GFP_ATOMIC); | 565 | retval = usb_submit_urb(dev->urb, GFP_ATOMIC); |
566 | if (retval) { | 566 | if (retval) { |
567 | err("%s - usb_submit_urb failed with result %d", | 567 | err("%s - usb_submit_urb failed with result %d", |
568 | __FUNCTION__, retval); | 568 | __func__, retval); |
569 | } | 569 | } |
570 | } | 570 | } |
571 | 571 | ||