diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-30 03:54:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:53 -0400 |
commit | 145980a0b07520f0f82cc40999acc92b349ea40c (patch) | |
tree | 48bc21442adcda4561b8f5356380cc168d059619 /drivers/gpio | |
parent | bdf4bbaaee3d4b8f555658333cbce1affe9070fb (diff) |
drivers: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 24c62b848bf..7f138c6195f 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c | |||
@@ -382,7 +382,7 @@ fail: | |||
382 | spin_unlock_irqrestore(&gpio_lock, flags); | 382 | spin_unlock_irqrestore(&gpio_lock, flags); |
383 | if (status) | 383 | if (status) |
384 | pr_debug("%s: gpio-%d status %d\n", | 384 | pr_debug("%s: gpio-%d status %d\n", |
385 | __FUNCTION__, gpio, status); | 385 | __func__, gpio, status); |
386 | return status; | 386 | return status; |
387 | } | 387 | } |
388 | EXPORT_SYMBOL_GPL(gpio_direction_input); | 388 | EXPORT_SYMBOL_GPL(gpio_direction_input); |
@@ -420,7 +420,7 @@ fail: | |||
420 | spin_unlock_irqrestore(&gpio_lock, flags); | 420 | spin_unlock_irqrestore(&gpio_lock, flags); |
421 | if (status) | 421 | if (status) |
422 | pr_debug("%s: gpio-%d status %d\n", | 422 | pr_debug("%s: gpio-%d status %d\n", |
423 | __FUNCTION__, gpio, status); | 423 | __func__, gpio, status); |
424 | return status; | 424 | return status; |
425 | } | 425 | } |
426 | EXPORT_SYMBOL_GPL(gpio_direction_output); | 426 | EXPORT_SYMBOL_GPL(gpio_direction_output); |