aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-29 04:01:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:18 -0400
commitc74c120a21d87b0b6925ada5830d8cac21e852d9 (patch)
tree79558a29ecadc7b71eeb5bdf0945680f0560b2ed /drivers/video
parent928b4d8c8963e75bdb133f562b03b07f9aa4844a (diff)
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')
-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)
381 381
382 /* Register the /proc entries. */ 382 /* Register the /proc entries. */
383 clps7111fb_backlight_proc_entry = create_proc_entry("backlight", 0444, 383 clps7111fb_backlight_proc_entry = create_proc_entry("backlight", 0444,
384 &proc_root); 384 NULL);
385 if (clps7111fb_backlight_proc_entry == NULL) { 385 if (clps7111fb_backlight_proc_entry == NULL) {
386 printk("Couldn't create the /proc entry for the backlight.\n"); 386 printk("Couldn't create the /proc entry for the backlight.\n");
387 return -EINVAL; 387 return -EINVAL;