watchdog: Return proper error in nuc900wdt_probe if misc_register fails
authorAxel Lin <axel.lin@gmail.com>
Wed, 18 Jan 2012 02:46:52 +0000 (10:46 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 27 Jan 2012 08:54:51 +0000 (09:54 +0100)
Return proper error instead of 0 if misc_register fails

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

No differences found