mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[PATCH] proc_mkdir() should be used to create procfs directories
A bunch of create_proc_dir_entry() calls creating directories had crept in since the last sweep; converted to proc_mkdir(). Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ecba97d4aa
commit
666002218d
15 changed files with 31 additions and 45 deletions
|
|
@ -1397,7 +1397,7 @@ static void destroy_proc_cpia_cam(struct cam_data *cam)
|
|||
|
||||
static void proc_cpia_create(void)
|
||||
{
|
||||
cpia_proc_root = create_proc_entry("cpia", S_IFDIR, NULL);
|
||||
cpia_proc_root = proc_mkdir("cpia", NULL);
|
||||
|
||||
if (cpia_proc_root)
|
||||
cpia_proc_root->owner = THIS_MODULE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue