Message ID | 1344573730-21907-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show |
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@linaro.org> > --- > drivers/pwm/pwm-vt8500.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Thierry
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); }
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@linaro.org> --- drivers/pwm/pwm-vt8500.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)