[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 <gregkh@suse.de>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user