summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa
diff options
context:
space:
mode:
authorThayumanavar Sachithanantham <thayumk@gmail.com>2006-04-20 02:43:15 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-20 07:54:03 -0700
commit0324680064fd89d6ad52e89a4ccf16dec3ea3caa (patch)
tree7e487031a015ed54e3c422901b17bab671935f68 /include/asm-xtensa
parentc16c556e0e460a4e8c3f97ea0d50a1217f7fa449 (diff)
downloadop-kernel-dev-0324680064fd89d6ad52e89a4ccf16dec3ea3caa.zip
op-kernel-dev-0324680064fd89d6ad52e89a4ccf16dec3ea3caa.tar.gz
[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>
Diffstat (limited to 'include/asm-xtensa')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud