diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2008-03-05 12:27:51 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-04-21 04:15:56 +0200 |
commit | 607424d8583365418a337aa51e83403c8bd213ed (patch) | |
tree | 1e13105dbab8bfe62f1d7d10e650c397cb824a3e /crypto/proc.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo... (diff) | |
download | linux-607424d8583365418a337aa51e83403c8bd213ed.tar.xz linux-607424d8583365418a337aa51e83403c8bd213ed.zip |
[CRYPTO] api: Switch to proc_create()
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/proc.c')
-rw-r--r-- | crypto/proc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/proc.c b/crypto/proc.c index 3d73323ff79b..e482ab68a7ce 100644 --- a/crypto/proc.c +++ b/crypto/proc.c @@ -99,11 +99,7 @@ static const 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); } void __exit crypto_exit_proc(void) |