Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[CRYPTO] api: Switch to proc_create()

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Alexey Dobriyan and committed by
Herbert Xu
607424d8 3925e6fc

+1 -5
+1 -5
crypto/proc.c
··· 99 99 100 100 void __init crypto_init_proc(void) 101 101 { 102 - struct proc_dir_entry *proc; 103 - 104 - proc = create_proc_entry("crypto", 0, NULL); 105 - if (proc) 106 - proc->proc_fops = &proc_crypto_ops; 102 + proc_create("crypto", 0, NULL, &proc_crypto_ops); 107 103 } 108 104 109 105 void __exit crypto_exit_proc(void)