aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index f02c242c3114..11426604d8a2 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -898,7 +898,7 @@ static int __init input_proc_init(void)
898{ 898{
899 struct proc_dir_entry *entry; 899 struct proc_dir_entry *entry;
900 900
901 proc_bus_input_dir = proc_mkdir("input", proc_bus); 901 proc_bus_input_dir = proc_mkdir("bus/input", NULL);
902 if (!proc_bus_input_dir) 902 if (!proc_bus_input_dir)
903 return -ENOMEM; 903 return -ENOMEM;
904 904
@@ -921,7 +921,7 @@ static int __init input_proc_init(void)
921 return 0; 921 return 0;
922 922
923 fail2: remove_proc_entry("devices", proc_bus_input_dir); 923 fail2: remove_proc_entry("devices", proc_bus_input_dir);
924 fail1: remove_proc_entry("input", proc_bus); 924 fail1: remove_proc_entry("bus/input", NULL);
925 return -ENOMEM; 925 return -ENOMEM;
926} 926}
927 927
@@ -929,7 +929,7 @@ static void input_proc_exit(void)
929{ 929{
930 remove_proc_entry("devices", proc_bus_input_dir); 930 remove_proc_entry("devices", proc_bus_input_dir);
931 remove_proc_entry("handlers", proc_bus_input_dir); 931 remove_proc_entry("handlers", proc_bus_input_dir);
932 remove_proc_entry("input", proc_bus); 932 remove_proc_entry("bus/input", NULL);
933} 933}
934 934
935#else /* !CONFIG_PROC_FS */ 935#else /* !CONFIG_PROC_FS */