proc: remove proc_root from drivers
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 29 Apr 2008 08:01:44 +0000 (01:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:18 +0000 (08:06 -0700)
commitc74c120a21d87b0b6925ada5830d8cac21e852d9
tree79558a29ecadc7b71eeb5bdf0945680f0560b2ed
parent928b4d8c8963e75bdb133f562b03b07f9aa4844a
proc: remove proc_root from drivers

Remove proc_root export.  Creation and removal works well if parent PDE is
supplied as NULL -- it worked always that way.

So, one useless export removed and consistency added, some drivers created
PDEs with &proc_root as parent but removed them as NULL and so on.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
22 files changed:
arch/arm/kernel/atags.c
arch/m68k/mac/iop.c
arch/mips/basler/excite/excite_procfs.c
arch/um/kernel/exitcode.c
arch/um/kernel/process.c
arch/x86/kernel/cpu/mtrr/if.c
drivers/char/ip2/ip2main.c
drivers/mca/mca-proc.c
drivers/misc/hdpuftrs/hdpu_cpustate.c
drivers/misc/hdpuftrs/hdpu_nexus.c
drivers/s390/block/dasd_proc.c
drivers/s390/char/tape_proc.c
drivers/s390/cio/blacklist.c
drivers/s390/cio/qdio.c
drivers/scsi/megaraid.c
drivers/video/clps711xfb.c
fs/proc/internal.h
fs/proc/proc_misc.c
fs/proc/root.c
include/linux/proc_fs.h
kernel/configs.c
sound/core/info.c