From: Hari Prasath Gujulan Elango <hgujulan@xxxxxxxxxxx> Cleanup the device entry,device class & unregister the character device in the module exit.All this cleanup is done already in the dgap_stop() function.We need to call this in the cleanup module. Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@xxxxxxxxxxx> --- drivers/staging/dgap/dgap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index 26b0446..b6fa486 100644 --- a/drivers/staging/dgap/dgap.c +++ b/drivers/staging/dgap/dgap.c @@ -7161,6 +7161,7 @@ static void dgap_cleanup_module(void) { if (dgap_numboards) pci_unregister_driver(&dgap_driver); + dgap_stop(); } module_init(dgap_init_module); -- 1.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel