staging: nvec: cleanup childs on remove
authorMarc Dietrich <marvin24@gmx.de>
Mon, 29 Apr 2013 21:14:52 +0000 (23:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 May 2013 21:51:38 +0000 (17:51 -0400)
Disable device functions and unregister notifier if available. The
serio device must not be "kzallocated". Otherwise serio_unregister_port
will fail because the device is already freed.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found