Skip to content

Commit

Permalink
watchdog: Fix typo "unexpectdly"
Browse files Browse the repository at this point in the history
Correct typo "unexpectdly" to "unexpectedly" in pnx4008_wdt.c
and stmp3xxx_wdt.c

Signed-off-by: Masanari Iida<standby24x7@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Masanari Iida authored and Wim Van Sebroeck committed Jan 27, 2012
1 parent 8a062ac commit b1785df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/watchdog/pnx4008_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static long pnx4008_wdt_ioctl(struct file *file, unsigned int cmd,
static int pnx4008_wdt_release(struct inode *inode, struct file *file)
{
if (!test_bit(WDT_OK_TO_CLOSE, &wdt_status))
printk(KERN_WARNING "WATCHDOG: Device closed unexpectdly\n");
printk(KERN_WARNING "WATCHDOG: Device closed unexpectedly\n");

wdt_disable();
clk_disable(wdt_clk);
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/stmp3xxx_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static int stmp3xxx_wdt_release(struct inode *inode, struct file *file)
if (!nowayout) {
if (!test_bit(WDT_OK_TO_CLOSE, &wdt_status)) {
wdt_ping();
pr_debug("%s: Device closed unexpectdly\n", __func__);
pr_debug("%s: Device closed unexpectedly\n", __func__);
ret = -EINVAL;
} else {
wdt_disable();
Expand Down

0 comments on commit b1785df

Please sign in to comment.