summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep/main.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-03-05 18:24:51 -0800
committerLen Brown <len.brown@intel.com>2008-03-11 01:58:41 -0400
commit96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf (patch)
treef47563e553c38cdf9571e3492ed816b2e6b129b2 /drivers/acpi/sleep/main.c
parentbd12935f04066df31903eaf74b1cec03319ecd2e (diff)
downloadop-kernel-dev-96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf.zip
op-kernel-dev-96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c
index 293a1cb..d2f71a5 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);
OpenPOWER on IntegriCloud