mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -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
|
|
@ -904,8 +904,6 @@ adbdev_init(void)
|
|||
return;
|
||||
}
|
||||
|
||||
devfs_mk_cdev(MKDEV(ADB_MAJOR, 0), S_IFCHR | S_IRUSR | S_IWUSR, "adb");
|
||||
|
||||
adb_dev_class = class_create(THIS_MODULE, "adb");
|
||||
if (IS_ERR(adb_dev_class))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue