Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* git://www.linux-watchdog.org/linux-watchdog:
  watchdog: fix initialisation printout in s3c2410_wdt
  watchdog: Don't overwrite error value in wm831x_wdt_set_timeout()
  watchdog: adx_wdt.c: remove driver
  • Loading branch information
torvalds committed Nov 22, 2011
2 parents e25ba0c + 20403e8 commit 1b464d8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 366 deletions.
7 changes: 0 additions & 7 deletions drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -314,13 +314,6 @@ config NUC900_WATCHDOG
To compile this driver as a module, choose M here: the
module will be called nuc900_wdt.

config ADX_WATCHDOG
tristate "Avionic Design Xanthos watchdog"
depends on ARCH_PXA_ADX
help
Say Y here if you want support for the watchdog timer on Avionic
Design Xanthos boards.

config TS72XX_WATCHDOG
tristate "TS-72XX SBC Watchdog"
depends on MACH_TS72XX
Expand Down
1 change: 0 additions & 1 deletion drivers/watchdog/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ obj-$(CONFIG_ORION_WATCHDOG) += orion_wdt.o
obj-$(CONFIG_COH901327_WATCHDOG) += coh901327_wdt.o
obj-$(CONFIG_STMP3XXX_WATCHDOG) += stmp3xxx_wdt.o
obj-$(CONFIG_NUC900_WATCHDOG) += nuc900_wdt.o
obj-$(CONFIG_ADX_WATCHDOG) += adx_wdt.o
obj-$(CONFIG_TS72XX_WATCHDOG) += ts72xx_wdt.o
obj-$(CONFIG_IMX2_WDT) += imx2_wdt.o

Expand Down
355 changes: 0 additions & 355 deletions drivers/watchdog/adx_wdt.c

This file was deleted.

4 changes: 2 additions & 2 deletions drivers/watchdog/s3c2410_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ static int __devinit s3c2410wdt_probe(struct platform_device *pdev)

dev_info(dev, "watchdog %sactive, reset %sabled, irq %sabled\n",
(wtcon & S3C2410_WTCON_ENABLE) ? "" : "in",
(wtcon & S3C2410_WTCON_RSTEN) ? "" : "dis",
(wtcon & S3C2410_WTCON_INTEN) ? "" : "en");
(wtcon & S3C2410_WTCON_RSTEN) ? "en" : "dis",
(wtcon & S3C2410_WTCON_INTEN) ? "en" : "dis");

return 0;

Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/wm831x_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static int wm831x_wdt_set_timeout(struct watchdog_device *wdt_dev,
if (wm831x_wdt_cfgs[i].time == timeout)
break;
if (i == ARRAY_SIZE(wm831x_wdt_cfgs))
ret = -EINVAL;
return -EINVAL;

ret = wm831x_reg_unlock(wm831x);
if (ret == 0) {
Expand Down

0 comments on commit 1b464d8

Please sign in to comment.