From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx Date: Thu, 5 Aug 2010 17:24:01 -0500 Message-ID: <1281047052-21346-2-git-send-email-nm@ti.com> References: <1281047052-21346-1-git-send-email-nm@ti.com> Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:36957 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760825Ab0HEWYU (ORCPT ); Thu, 5 Aug 2010 18:24:20 -0400 In-Reply-To: <1281047052-21346-1-git-send-email-nm@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap Cc: Nishanth Menon , Kevin Hilman , Thara Gopinath Few more pr_xxxx need cleanup for printing the function name and not using multiline prints when c allows us to do "". Cc: Kevin Hilman Cc: Thara Gopinath Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/voltage.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c index 148e4d4..3431fa3 100644 --- a/arch/arm/mach-omap2/voltage.c +++ b/arch/arm/mach-omap2/voltage.c @@ -253,8 +253,9 @@ static int vp_debug_set(void *data, u64 val) u32 *option = data; *option = val; } else { - pr_notice("DEBUG option not enabled!\n \ - echo 1 > pm_debug/enable_sr_vp_debug - to enable\n"); + pr_notice("%s: DEBUG option not enabled! " + "echo 1 > pm_debug/enable_sr_vp_debug - to enable\n", + __func__); } return 0; } @@ -265,7 +266,7 @@ static int vp_volt_debug_get(void *data, u64 *val) u8 vsel; vsel = voltage_read_reg(info->vp_offs.voltage_reg); - pr_notice("curr_vsel = %x\n", vsel); + pr_notice("%s: curr_vsel = %x\n", __func__, vsel); *val = vsel * 12500 + 600000; return 0; -- 1.6.3.3