watchdog: sch311x_wdt.c: set parent before registeriing the misc device in probe() function

Set the paranet of the misc_device before we register the misc_device.

Reported-by: Akinobu Mita <[email protected]>
Signed-off-by: Wim Van sebroeck <[email protected]>

1 file changed