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/watchdog_core.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/watchdog_core.c')
-rw-r--r-- | drivers/watchdog/watchdog_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c index cfa1a1518aad..14d768bfa267 100644 --- a/drivers/watchdog/watchdog_core.c +++ b/drivers/watchdog/watchdog_core.c | |||
@@ -77,7 +77,7 @@ int watchdog_register_device(struct watchdog_device *wdd) | |||
77 | /* We only support 1 watchdog device via the /dev/watchdog interface */ | 77 | /* We only support 1 watchdog device via the /dev/watchdog interface */ |
78 | ret = watchdog_dev_register(wdd); | 78 | ret = watchdog_dev_register(wdd); |
79 | if (ret) { | 79 | if (ret) { |
80 | pr_err("error registering /dev/watchdog (err=%d).\n", ret); | 80 | pr_err("error registering /dev/watchdog (err=%d)\n", ret); |
81 | return ret; | 81 | return ret; |
82 | } | 82 | } |
83 | 83 | ||
@@ -101,7 +101,7 @@ void watchdog_unregister_device(struct watchdog_device *wdd) | |||
101 | 101 | ||
102 | ret = watchdog_dev_unregister(wdd); | 102 | ret = watchdog_dev_unregister(wdd); |
103 | if (ret) | 103 | if (ret) |
104 | pr_err("error unregistering /dev/watchdog (err=%d).\n", ret); | 104 | pr_err("error unregistering /dev/watchdog (err=%d)\n", ret); |
105 | } | 105 | } |
106 | EXPORT_SYMBOL_GPL(watchdog_unregister_device); | 106 | EXPORT_SYMBOL_GPL(watchdog_unregister_device); |
107 | 107 | ||