watchdog: mei_wdt: re-register device on event
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 7 Feb 2016 20:46:50 +0000 (22:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 21:00:52 +0000 (13:00 -0800)
commit3a20a5c339cce042e53557be067e121e4e984adf
treecfa121661e5c9b81fe6b98ebfef8e554b1a8c570
parentad1cd720b18330599a9cabaf970095b74c9c3355
watchdog: mei_wdt: re-register device on event

For Intel SKL platform the ME device can inform the host via
asynchronous notification that the watchdog feature was activated
on the device. The activation doesn't require reboot.
In that case the driver registers the watchdog device with the kernel.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/mei_wdt.c