diff options
author | Joe Perches <joe@perches.com> | 2012-02-15 18:06:19 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-03-27 13:59:26 -0400 |
commit | 27c766aaacb265d625dc634bf7903f7f9fd0c697 (patch) | |
tree | 06b399d21dec006bc0a3e1c6685b076753e19b94 /drivers/watchdog/dw_wdt.c | |
parent | 7cbc353540c31ffaf65ad44d89b955be0f1d04dc (diff) |
watchdog: Use pr_<fmt> and pr_<level>
Use the current logging styles.
Make sure all output has a prefix.
Add missing newlines.
Remove now unnecessary PFX, NAME, and miscellaneous other #defines.
Coalesce formats.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/dw_wdt.c')
-rw-r--r-- | drivers/watchdog/dw_wdt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 63d7b58f1c7d..78a6827f7de6 100644 --- a/drivers/watchdog/dw_wdt.c +++ b/drivers/watchdog/dw_wdt.c | |||
@@ -16,7 +16,8 @@ | |||
16 | * If we receive an expected close for the watchdog then we keep the timer | 16 | * If we receive an expected close for the watchdog then we keep the timer |
17 | * running, otherwise the timer is stopped and the watchdog will expire. | 17 | * running, otherwise the timer is stopped and the watchdog will expire. |
18 | */ | 18 | */ |
19 | #define pr_fmt(fmt) "dw_wdt: " fmt | 19 | |
20 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
20 | 21 | ||
21 | #include <linux/bitops.h> | 22 | #include <linux/bitops.h> |
22 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |