projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
telephony
/
phonedev.c
diff --git
a/drivers/telephony/phonedev.c
b/drivers/telephony/phonedev.c
index e166fffea86ba5b971df5d6fd7e4f2c95240e689..80f9fe40527926abb8bd1338872a22f3f29f08bb 100644
(file)
--- a/
drivers/telephony/phonedev.c
+++ b/
drivers/telephony/phonedev.c
@@
-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;
}