Thayumanavar Sachithanantham 0324680064 [PATCH] cs5535_gpio.c: call cdev_del() during module_exit to unmap kobject references and other cleanups
During module unloading, cdev_del() must be called to unmap cdev related
kobject references and other cleanups(such as inode->i_cdev being set to
NULL) which prevents the OOPS upon subsequent loading, usage and unloading
of modules(as seen in the mail thread
http://marc.theaimsgroup.com/?l=linux-kernel&m=114533640609018&w=2).

Also, remove unneeded test of gpio_base.

Signed-off-by: Thayumanavar Sachithanantham <thayumk@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-20 07:54:03 -07:00
..
2006-04-11 06:18:46 -07:00
2006-04-11 06:18:40 -07:00
2006-03-29 13:24:50 +11:00
2006-04-11 06:18:43 -07:00
2006-04-11 06:18:47 -07:00
2006-04-11 06:18:38 -07:00
2006-04-11 06:18:44 -07:00
2006-03-23 07:38:16 -08:00
2006-04-17 14:24:57 -07:00
2006-03-24 18:23:14 +01:00
2006-03-31 12:18:56 -08:00