projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895b559
)
rtl8192u: don't play with reassigning ->proc_fops, just use proc_create()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 30 Mar 2013 17:13:39 +0000
(13:13 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:09 +0000
(14:13 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/rtl8192u/ieee80211/proc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/rtl8192u/ieee80211/proc.c
b/drivers/staging/rtl8192u/ieee80211/proc.c
index 6eda928e4090559c74d82fb3e2bbd52cb2f970ab..54026a412ca4997bb67149085ae86b4e42cab4e0 100644
(file)
--- a/
drivers/staging/rtl8192u/ieee80211/proc.c
+++ b/
drivers/staging/rtl8192u/ieee80211/proc.c
@@
-108,9
+108,5
@@
static struct file_operations proc_crypto_ops = {
void __init crypto_init_proc(void)
{
- struct proc_dir_entry *proc;
-
- proc = create_proc_entry("crypto", 0, NULL);
- if (proc)
- proc->proc_fops = &proc_crypto_ops;
+ proc_create("crypto", 0, NULL, &proc_crypto_ops);
}