make coretemp_device_remove() static
Subsystems (2)
PATCH 1/1 make coretemp_device_remove() static
coretemp_device_remove() can become static.
Signed-off-by Adrian Bunk <[email protected]>
---
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
Hi Adrian,
Quoted 3 lines · Adrian Bunk
coretemp_device_remove()can become static.Signed-off-by Adrian Bunk <[email protected]>
Obviously correct.
Acked-by Jean Delvare <[email protected]>
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
Hi Jean, Adrian:
Quoted 17 lines · Jean Delvare
Hi Adrian,
Quoted 3 lines · Adrian Bunk
coretemp_device_remove()can become static.Signed-off-by Adrian Bunk <[email protected]>Obviously correct.
Acked-by Jean Delvare <[email protected]>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