summaryrefslogtreecommitdiff
path: root/drivers/video/clps711xfb.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-29 12:01:44 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 19:06:18 +0400
commitc74c120a21d87b0b6925ada5830d8cac21e852d9 (patch)
tree79558a29ecadc7b71eeb5bdf0945680f0560b2ed /drivers/video/clps711xfb.c
parent928b4d8c8963e75bdb133f562b03b07f9aa4844a (diff)
downloadlinux-c74c120a21d87b0b6925ada5830d8cac21e852d9.tar.xz
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>
Diffstat (limited to 'drivers/video/clps711xfb.c')
-rw-r--r--drivers/video/clps711xfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/clps711xfb.c b/drivers/video/clps711xfb.c
index 17b5267f44d7..9f8a389dc7ae 100644
--- a/drivers/video/clps711xfb.c
+++ b/drivers/video/clps711xfb.c
@@ -381,7 +381,7 @@ int __init clps711xfb_init(void)
/* Register the /proc entries. */
clps7111fb_backlight_proc_entry = create_proc_entry("backlight", 0444,
- &proc_root);
+ NULL);
if (clps7111fb_backlight_proc_entry == NULL) {
printk("Couldn't create the /proc entry for the backlight.\n");
return -EINVAL;