diff options
author | Timur Tabi <timur@freescale.com> | 2011-02-08 17:39:46 -0600 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-03-15 16:02:39 +0000 |
commit | 112e75466f63997d0f4c3c13ecf999e36aea692f (patch) | |
tree | e95a19c9140f2c167602183d313ae6c53fa7569e /drivers/watchdog/ts72xx_wdt.c | |
parent | 5f3b27569fc0286a51f8d0655c7fb4f5b36aea65 (diff) | |
download | lwn-112e75466f63997d0f4c3c13ecf999e36aea692f.tar.gz lwn-112e75466f63997d0f4c3c13ecf999e36aea692f.zip |
watchdog: booke_wdt: clean up status messages
Improve the status messages that are displayed during some operations of the
PowerPC watchdog timer driver. When the watchdog is enabled, the timeout is
displayed as a number of seconds, instead of an obscure "period". The "period"
is the position of a bit in a 64-bit timer register. The higher the value,
the quicker the watchdog timeout occurs. Some people chose a high "period"
value for the timer and get confused as to why the board resets within a
few seconds.
Messages displayed during open and close are now debug messages, so that they
don't clutter the console by default. Finally, printk() is replaced with the
pr_xxx() equivalent.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/ts72xx_wdt.c')
0 files changed, 0 insertions, 0 deletions