watchdog: tangox: Use watchdog core to install restart handler
authorGuenter Roeck <linux@roeck-us.net>
Wed, 4 Jan 2017 20:28:01 +0000 (12:28 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commit0397c5db1d3174a553da674bb779007cc62cc241
tree56f14dc560df77ddc680570f98ca29ad609584d3
parenta70dcc016fedfc214fb0d4cb59cd01d0117c8345
watchdog: tangox: Use watchdog core to install restart handler

Use the infrastructure provided by the watchdog core to install
the restart handler.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/tangox_wdt.c