>>-----Original Message-----
>>From: Menon, Nishanth
>>Sent: Friday, August 06, 2010 3:54 AM
>>To: linux-omap
>>Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara
>>Subject: [PM-SR][PATCH 08/12] omap3: sr: cleanup pr_xxx
>>
>>pr_xxx family is not informative for debug unless one decides
>>to grep the code, instead print the function to help debug
>>easier on the field.
>>
>>Cc: Kevin Hilman <khil...@deeprootsystems.com>
>>Cc: Thara Gopinath <th...@ti.com>
>>
>>Signed-off-by: Nishanth Menon <n...@ti.com>
>>---
>> arch/arm/mach-omap2/smartreflex.c |    5 +++--
>> 1 files changed, 3 insertions(+), 2 deletions(-)
>>
>>diff --git a/arch/arm/mach-omap2/smartreflex.c 
>>b/arch/arm/mach-omap2/smartreflex.c
>>index 57fc9b2..d63691b 100644
>>--- a/arch/arm/mach-omap2/smartreflex.c
>>+++ b/arch/arm/mach-omap2/smartreflex.c
>>@@ -804,8 +804,9 @@ static int omap_sr_params_store(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__);
>>      }

Accepted and will be collated with rest of the patches.
>>      return 0;
>> }
>>--
>>1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to