mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
7c69ef7974
commit
8ab5e4c15b
47 changed files with 9 additions and 161 deletions
|
|
@ -1039,9 +1039,6 @@ static void __exit bpp_cleanup(void)
|
|||
{
|
||||
unsigned idx;
|
||||
|
||||
for (idx = 0; idx < BPP_NO; idx++)
|
||||
devfs_remove("bpp/%d", idx);
|
||||
devfs_remove("bpp");
|
||||
unregister_chrdev(BPP_MAJOR, dev_name);
|
||||
|
||||
for (idx = 0; idx < BPP_NO; idx++) {
|
||||
|
|
|
|||
|
|
@ -712,7 +712,6 @@ static void deinit_vfc_device(struct vfc_dev *dev)
|
|||
{
|
||||
if(dev == NULL)
|
||||
return;
|
||||
devfs_remove("vfc/%d", dev->instance);
|
||||
sbus_iounmap(dev->regs, sizeof(struct vfc_regs));
|
||||
kfree(dev);
|
||||
}
|
||||
|
|
@ -726,7 +725,6 @@ void cleanup_module(void)
|
|||
for (devp = vfc_dev_lst; *devp; devp++)
|
||||
deinit_vfc_device(*devp);
|
||||
|
||||
devfs_remove("vfc");
|
||||
kfree(vfc_dev_lst);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue