proc: set attributes of pde using accessor functions
authorRui Xiang <rui.xiang@huawei.com>
Thu, 23 Jan 2014 23:55:41 +0000 (15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:01 +0000 (16:37 -0800)
commitcdf7e8dded6212cb29f758017a613e4eefc4ce9e
tree3a8de28dee0faaedc13379e9e1d889d9a36efe8c
parent9f6e963f06c19a57a876cb77a9c87f6a56295b13
proc: set attributes of pde using accessor functions

Use existing accessors proc_set_user() and proc_set_size() to set
attributes.  Just a cleanup.

Signed-off-by: Rui Xiang <rui.xiang@huawei.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/proc_devtree.c