diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-06 03:24:51 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-03-11 06:58:41 +0100 |
commit | 96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf (patch) | |
tree | f47563e553c38cdf9571e3492ed816b2e6b129b2 /drivers/acpi/sleep/main.c | |
parent | ACPI: Fix a duplicate log level (diff) | |
download | linux-96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf.tar.xz linux-96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf.zip |
ACPI: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sleep/main.c')
-rw-r--r-- | drivers/acpi/sleep/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c index 293a1cbb47c0..d2f71a54726c 100644 --- a/drivers/acpi/sleep/main.c +++ b/drivers/acpi/sleep/main.c @@ -504,7 +504,7 @@ static void acpi_power_off_prepare(void) static void acpi_power_off(void) { /* acpi_sleep_prepare(ACPI_STATE_S5) should have already been called */ - printk("%s called\n", __FUNCTION__); + printk("%s called\n", __func__); local_irq_disable(); acpi_enable_wakeup_device(ACPI_STATE_S5); acpi_enter_sleep_state(ACPI_STATE_S5); |