get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-07-24 02:07:46 -04:00
parent e772aed369
commit e55d92b92d
7 changed files with 9 additions and 13 deletions

View File

@@ -531,7 +531,7 @@ int __init snd_info_init(void)
{
struct proc_dir_entry *p;
p = create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, NULL);
p = proc_mkdir("asound", NULL);
if (p == NULL)
return -ENOMEM;
snd_proc_root = p;