]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc: set attributes of pde using accessor functions
authorRui Xiang <rui.xiang@huawei.com>
Fri, 3 Jan 2014 03:10:29 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:29 +0000 (14:10 +1100)
commit93877c63b69df300392ba6c9896cd2d8edfafda2
treef82a36c23e499552620ad7e5cfdf93d8222d77df
parent3edb772cc2ffef63904c162a1317f87b39a3b63d
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>
fs/proc/generic.c
fs/proc/proc_devtree.c