]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: softdog: use watchdog core to init timeout value
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 25 May 2016 06:37:44 +0000 (08:37 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Jul 2016 18:54:34 +0000 (20:54 +0200)
commit27c202f089a3cb522a5f762453abd8e963504195
treef4a175707eeb39e78090bcd564af35a6062cdd8b
parenta3d95294e5ea0126a52c670ff1db164bcf7cecea
watchdog: softdog: use watchdog core to init timeout value

Error string and comment say we fall back to a default, but in reality
we bailed out. Refactor the code to use the core helper which then
matches the described behaviour. While updating the init message anyhow,
shorten it while we are here; no need for versioning there as well and
the name is already given via pr_fmt.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/softdog.c