Skip to contentSkip to conversation

make coretemp_device_remove() static

PATCH In review Adrian Bunk 3 participants 3 messages Jul 5, 2007 – Jul 8, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make coretemp_device_remove() static

coretemp_device_remove() can become static.

---

drivers/hwmon/coretemp.c renamed from drivers/hwmon/coretemp.c.old +1 -1
@@ -318,7 +318,7 @@
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-void coretemp_device_remove(unsigned int cpu)
+static void coretemp_device_remove(unsigned int cpu)
 {
 	struct pdev_entry *p, *n;
 	mutex_lock(&pdev_list_mutex);

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Acked-by on v1 1/1
#1 lore raw

Hi Adrian,

Quoted 3 lines · Adrian Bunk

coretemp_device_remove() can become static.

Obviously correct.

drivers/hwmon/coretemp.c line 324

Quoted 12 lines

---

drivers/hwmon/coretemp.c renamed from drivers/hwmon/coretemp.c.old +1 -1
@@ -318,7 +318,7 @@
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-void coretemp_device_remove(unsigned int cpu)
+static void coretemp_device_remove(unsigned int cpu)
 {
 	struct pdev_entry *p, *n;
 	mutex_lock(&pdev_list_mutex);

Thanks,

Signature · 1 line
Jean Delvare
#2 lore raw

Hi Jean, Adrian:

Quoted 17 lines · Jean Delvare

Hi Adrian,

Quoted 3 lines · Adrian Bunk

coretemp_device_remove() can become static.

Obviously correct.

Quoted 6 lines

---

drivers/hwmon/coretemp.c renamed from drivers/hwmon/coretemp.c.old +0 -0
@@ -318,7 +318,7 @@
 }
 
Quoted 6 lines

drivers/hwmon/coretemp.c line 324

Quoted 6 lines
drivers/hwmon/coretemp.c renamed from drivers/hwmon/coretemp.c.old +1 -1
 #ifdef CONFIG_HOTPLUG_CPU
-void coretemp_device_remove(unsigned int cpu)
+static void coretemp_device_remove(unsigned int cpu)
 {
 	struct pdev_entry *p, *n;
 	mutex_lock(&pdev_list_mutex);

Applied to my testing tree; thanks.

Signature · 8 lines
Mark M. Hoffman
[email protected]


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors