On 9 June 2015 at 13:00, Gujulan Elango, Hari Prasath (H.) <hgujulan@xxxxxxxxxxx> wrote: > 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); > -- Please discard this patch. The subject line is wrong.It should be 'dgap' and not 'dgnc'. I am sending a new one. -- Regards, G.E.Hari Prasath _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel