From patchwork Thu Aug 5 22:24:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 117579 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o75MgIge029836 for ; Thu, 5 Aug 2010 22:42:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934663Ab0HEWlg (ORCPT ); Thu, 5 Aug 2010 18:41:36 -0400 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 Received: from dlep33.itg.ti.com ([157.170.170.112]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o75MOHE1014053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Aug 2010 17:24:17 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id o75MOFXP007448; Thu, 5 Aug 2010 17:24:15 -0500 (CDT) Received: from senorita (senorita.am.dhcp.ti.com [128.247.74.250]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o75MOEf27265; Thu, 5 Aug 2010 17:24:14 -0500 (CDT) Received: by senorita (Postfix, from userid 1000) id 13476C266; Thu, 5 Aug 2010 17:24:13 -0500 (CDT) From: Nishanth Menon To: linux-omap Cc: Nishanth Menon , Kevin Hilman , Thara Gopinath 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> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1281047052-21346-1-git-send-email-nm@ti.com> References: <1281047052-21346-1-git-send-email-nm@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 05 Aug 2010 22:42:18 +0000 (UTC) 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;