mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
Removes the devfs_mk_cdev() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
1a715c5cf9
commit
7c69ef7974
35 changed files with 8 additions and 202 deletions
|
|
@ -106,8 +106,6 @@ int phone_register_device(struct phone_device *p, int unit)
|
|||
if (phone_device[i] == NULL) {
|
||||
phone_device[i] = p;
|
||||
p->minor = i;
|
||||
devfs_mk_cdev(MKDEV(PHONE_MAJOR,i),
|
||||
S_IFCHR|S_IRUSR|S_IWUSR, "phone/%d", i);
|
||||
mutex_unlock(&phone_lock);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue