[WATCHDOG] fix clk_get() error check
commit9cd446198e7646431a7f2ce7dbeec8df9f77012b
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 19 Dec 2006 08:51:44 +0000 (19 17:51 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 19 Dec 2006 21:16:51 +0000 (19 22:16 +0100)
treeab2bb2cf8eff7c7e75b8cf34174692c02ebdd8be
parent0b6dd8a640fbaf73b74949b6dc2be50263532576
[WATCHDOG] fix clk_get() error check

The return value of clk_get() should be checked by IS_ERR().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/pnx4008_wdt.c
drivers/char/watchdog/s3c2410_wdt.c