Hi Marc,
Finally a stable ADSL line again. I just finished reviewing your driver:
:-) as you pointed out this should be removed.
you should ping the watchdog if you don't stop it.
we use the unlocked_ioctl call in watchdog drivers now. So this should be:
static long wm8350_wdt_ioctl(struct file *file, unsigned int cmd,
unsigned long arg)
Bootstatus is a mandatory ioctl according to the API. So just add:
case WDIOC_GETBOOTSTATUS:
and for the unlocked_ioctl call this needs to be:
.unlocked_ioctl = wm8350_wdt_ioctl,
For the rest: seems OK to me.
Kind regards,
Wim.
--