aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/hdpuftrs/hdpu_cpustate.c2
-rw-r--r--drivers/misc/hdpuftrs/hdpu_nexus.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/misc/hdpuftrs/hdpu_cpustate.c b/drivers/misc/hdpuftrs/hdpu_cpustate.c
index 302e92418bbe..154155c9b638 100644
--- a/drivers/misc/hdpuftrs/hdpu_cpustate.c
+++ b/drivers/misc/hdpuftrs/hdpu_cpustate.c
@@ -210,7 +210,7 @@ static int hdpu_cpustate_probe(struct platform_device *pdev)
210 return ret; 210 return ret;
211 } 211 }
212 212
213 proc_de = create_proc_entry("sky_cpustate", 0666, &proc_root); 213 proc_de = create_proc_entry("sky_cpustate", 0666, NULL);
214 if (!proc_de) { 214 if (!proc_de) {
215 printk(KERN_WARNING "sky_cpustate: " 215 printk(KERN_WARNING "sky_cpustate: "
216 "Unable to create proc entry\n"); 216 "Unable to create proc entry\n");
diff --git a/drivers/misc/hdpuftrs/hdpu_nexus.c b/drivers/misc/hdpuftrs/hdpu_nexus.c
index 2fa36f7a6eb3..e92b7efccc72 100644
--- a/drivers/misc/hdpuftrs/hdpu_nexus.c
+++ b/drivers/misc/hdpuftrs/hdpu_nexus.c
@@ -102,8 +102,8 @@ static int hdpu_nexus_probe(struct platform_device *pdev)
102 printk(KERN_ERR "sky_nexus: Could not map slot id\n"); 102 printk(KERN_ERR "sky_nexus: Could not map slot id\n");
103 } 103 }
104 104
105 hdpu_slot_id = create_proc_entry("sky_slot_id", 0666, &proc_root); 105 hdpu_slot_id = create_proc_entry("sky_slot_id", 0666, NULL);
106 if (!hdpu_slot_id) { 106 if (!hdpu_slot_id)
107 printk(KERN_WARNING "sky_nexus: " 107 printk(KERN_WARNING "sky_nexus: "
108 "Unable to create proc dir entry: sky_slot_id\n"); 108 "Unable to create proc dir entry: sky_slot_id\n");
109 } else { 109 } else {
@@ -111,8 +111,8 @@ static int hdpu_nexus_probe(struct platform_device *pdev)
111 hdpu_slot_id->owner = THIS_MODULE; 111 hdpu_slot_id->owner = THIS_MODULE;
112 } 112 }
113 113
114 hdpu_chassis_id = create_proc_entry("sky_chassis_id", 0666, &proc_root); 114 hdpu_chassis_id = create_proc_entry("sky_chassis_id", 0666, NULL);
115 if (!hdpu_chassis_id) { 115 if (!hdpu_chassis_id)
116 printk(KERN_WARNING "sky_nexus: " 116 printk(KERN_WARNING "sky_nexus: "
117 "Unable to create proc dir entry: sky_chassis_id\n"); 117 "Unable to create proc dir entry: sky_chassis_id\n");
118 } else { 118 } else {
@@ -128,8 +128,8 @@ static int hdpu_nexus_remove(struct platform_device *pdev)
128 slot_id = -1; 128 slot_id = -1;
129 chassis_id = -1; 129 chassis_id = -1;
130 130
131 remove_proc_entry("sky_slot_id", &proc_root); 131 remove_proc_entry("sky_slot_id", NULL);
132 remove_proc_entry("sky_chassis_id", &proc_root); 132 remove_proc_entry("sky_chassis_id", NULL);
133 133
134 hdpu_slot_id = 0; 134 hdpu_slot_id = 0;
135 hdpu_chassis_id = 0; 135 hdpu_chassis_id = 0;