Commit a5f42a6b authored by Jan Beulich's avatar Jan Beulich Committed by Guenter Roeck

x86/hwmon: {core, pkg, via}cpu_temp_device_remove() can all be __cpuinit

... as they're being called only from a __cpuinit function.
Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent 72e58063
...@@ -490,7 +490,7 @@ static int __cpuinit coretemp_device_add(unsigned int cpu) ...@@ -490,7 +490,7 @@ static int __cpuinit coretemp_device_add(unsigned int cpu)
return err; return err;
} }
static void coretemp_device_remove(unsigned int cpu) static void __cpuinit coretemp_device_remove(unsigned int cpu)
{ {
struct pdev_entry *p; struct pdev_entry *p;
unsigned int i; unsigned int i;
......
...@@ -340,7 +340,7 @@ static int __cpuinit pkgtemp_device_add(unsigned int cpu) ...@@ -340,7 +340,7 @@ static int __cpuinit pkgtemp_device_add(unsigned int cpu)
} }
#ifdef CONFIG_HOTPLUG_CPU #ifdef CONFIG_HOTPLUG_CPU
static void pkgtemp_device_remove(unsigned int cpu) static void __cpuinit pkgtemp_device_remove(unsigned int cpu)
{ {
struct pdev_entry *p; struct pdev_entry *p;
unsigned int i; unsigned int i;
......
...@@ -238,7 +238,7 @@ static int __cpuinit via_cputemp_device_add(unsigned int cpu) ...@@ -238,7 +238,7 @@ static int __cpuinit via_cputemp_device_add(unsigned int cpu)
} }
#ifdef CONFIG_HOTPLUG_CPU #ifdef CONFIG_HOTPLUG_CPU
static void via_cputemp_device_remove(unsigned int cpu) static void __cpuinit via_cputemp_device_remove(unsigned int cpu)
{ {
struct pdev_entry *p, *n; struct pdev_entry *p, *n;
mutex_lock(&pdev_list_mutex); mutex_lock(&pdev_list_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment