pwm: vt8500: Fix coding style issue
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 10 Aug 2012 04:42:09 +0000 (10:12 +0530)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 17 Aug 2012 12:08:25 +0000 (14:08 +0200)
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>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-vt8500.c

index 548021439f0cc2a71183496750a961d38d91b98d..ad14389b7144a29f142ed9b8e0c9d6df3b2793c0 100644 (file)
@@ -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);
 }