linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: mach-msm: acpuclock-arm11: Using __func__ instead __FUNCTION__
@ 2011-04-07 22:06 Chihau Chau
  0 siblings, 0 replies; only message in thread
From: Chihau Chau @ 2011-04-07 22:06 UTC (permalink / raw)
  To: linux-arm-kernel

Changing the __FUNCTION__ variable for the C99 standard __func__

Signed-off-by: Chihau Chau <chihau@gmail.com>
---
 arch/arm/mach-msm/acpuclock-arm11.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-msm/acpuclock-arm11.c b/arch/arm/mach-msm/acpuclock-arm11.c
index d716cf1..18ba209 100644
--- a/arch/arm/mach-msm/acpuclock-arm11.c
+++ b/arch/arm/mach-msm/acpuclock-arm11.c
@@ -379,7 +379,7 @@ int acpuclk_set_rate(unsigned long rate, int for_power_collapse)
 		}
 #if PERF_SWITCH_STEP_DEBUG
 		printk(KERN_DEBUG "%s: STEP khz = %u, pll = %d\n",
-			__FUNCTION__, cur_s->a11clk_khz, cur_s->pll);
+			__func__, cur_s->a11clk_khz, cur_s->pll);
 #endif
 		if (!for_power_collapse && cur_s->pll != ACPU_PLL_TCXO
 		    && !(plls_enabled & (1 << cur_s->pll))) {
@@ -428,7 +428,7 @@ int acpuclk_set_rate(unsigned long rate, int for_power_collapse)
 	}
 
 #if PERF_SWITCH_DEBUG
-	printk(KERN_DEBUG "%s: ACPU speed change complete\n", __FUNCTION__);
+	printk(KERN_DEBUG "%s: ACPU speed change complete\n", __func__);
 #endif
 out:
 	if (!for_power_collapse)
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-07 22:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 22:06 [PATCH] arm: mach-msm: acpuclock-arm11: Using __func__ instead __FUNCTION__ Chihau Chau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).