watchdog: let core print error message when registering device fails
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 18 May 2019 21:27:17 +0000 (23:27 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 8 Jul 2019 13:13:01 +0000 (15:13 +0200)
commitb608075e4bd6ad21968e8bfddd396c43b625e2b1
treeb55e81aff52f0ee44d1cf0f5a96b62a77c77a70f
parent80030425e0207172cd68a8952c5054db85ffa85f
watchdog: let core print error message when registering device fails

So we can remove boilerplate code from drivers.

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