fs: proc: use PDE() to get proc_dir_entry
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Thu, 12 Feb 2015 23:01:03 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Feb 2015 02:54:12 +0000 (18:54 -0800)
commit6bee55f94f971ccf87c8c95c10fa1047ade0f122
tree49d17716fbec009664aac95d8e77651f407568c3
parent695f055936938c674473ea071ca7359a863551e7
fs: proc: use PDE() to get proc_dir_entry

Use the PDE() helper to get proc_dir_entry instead of coding it directly.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/generic.c
fs/proc/inode.c