Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 1/2] pwm: vt8500: Fix coding style issue

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


sachin.kamat at linaro

Aug 9, 2012, 9:42 PM

Post #1 of 2 (36 views)
Permalink
[PATCH 1/2] pwm: vt8500: Fix coding style issue

Fixes the following:
WARNING: Prefer pr_warn(... to pr_warning(...
pr_warning("Waiting for status bits 0x%x to clear timed out\n",

Signed-off-by: Sachin Kamat <sachin.kamat [at] linaro>
---
drivers/pwm/pwm-vt8500.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pwm/pwm-vt8500.c b/drivers/pwm/pwm-vt8500.c
index 5480214..ad14389 100644
--- a/drivers/pwm/pwm-vt8500.c
+++ b/drivers/pwm/pwm-vt8500.c
@@ -41,7 +41,7 @@ static inline void pwm_busy_wait(void __iomem *reg, u8 bitmask)
cpu_relax();

if (unlikely(!loops))
- pr_warning("Waiting for status bits 0x%x to clear timed out\n",
+ pr_warn("Waiting for status bits 0x%x to clear timed out\n",
bitmask);
}

--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


thierry.reding at avionic-design

Aug 10, 2012, 4:37 AM

Post #2 of 2 (27 views)
Permalink
Re: [PATCH 1/2] pwm: vt8500: Fix coding style issue [In reply to]

On Fri, Aug 10, 2012 at 10:12:09AM +0530, Sachin Kamat wrote:
> Fixes the following:
> WARNING: Prefer pr_warn(... to pr_warning(...
> pr_warning("Waiting for status bits 0x%x to clear timed out\n",
>
> Signed-off-by: Sachin Kamat <sachin.kamat [at] linaro>
> ---
> drivers/pwm/pwm-vt8500.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Thierry

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.