]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: w83697hf_wdt: return ENODEV if no device was found
authorStanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Mon, 27 Jan 2014 07:04:33 +0000 (11:04 +0400)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 21 Feb 2014 19:36:46 +0000 (20:36 +0100)
commit0cb1c3e853e0d0f996f4e11863407bf31e6b7343
tree3f0ce826f27807c5085a39c3166f1c2e399c1d7c
parentd158fc7f36a25e19791d25a55da5623399a2644f
watchdog: w83697hf_wdt: return ENODEV if no device was found

Most WDT driver modules return ENODEV during modprobe if
no valid device was found, but w83697hf_wdt returns EIO.

Let w83697hf_wdt return ENODEV.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/w83697hf_wdt.c