diff options
author | Jan Beulich <jbeulich@novell.com> | 2010-09-24 01:31:10 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-10-25 17:11:19 -0400 |
commit | a5f42a6bc51454137b918f67310168c27d1dd1de (patch) | |
tree | 4715dd8a2aae7f1345dcf8d8f16153a5bb8eacc5 | |
parent | 72e58063d63c5f0a7bf65312f1e3a5ed9bb5c2ff (diff) |
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: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
-rw-r--r-- | drivers/hwmon/coretemp.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/pkgtemp.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/via-cputemp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index a23b17a78ace..f34fe836b5c9 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c | |||
@@ -490,7 +490,7 @@ exit: | |||
490 | return err; | 490 | return err; |
491 | } | 491 | } |
492 | 492 | ||
493 | static void coretemp_device_remove(unsigned int cpu) | 493 | static void __cpuinit coretemp_device_remove(unsigned int cpu) |
494 | { | 494 | { |
495 | struct pdev_entry *p; | 495 | struct pdev_entry *p; |
496 | unsigned int i; | 496 | unsigned int i; |
diff --git a/drivers/hwmon/pkgtemp.c b/drivers/hwmon/pkgtemp.c index f11903936c8b..db5352c20946 100644 --- a/drivers/hwmon/pkgtemp.c +++ b/drivers/hwmon/pkgtemp.c | |||
@@ -340,7 +340,7 @@ exit: | |||
340 | } | 340 | } |
341 | 341 | ||
342 | #ifdef CONFIG_HOTPLUG_CPU | 342 | #ifdef CONFIG_HOTPLUG_CPU |
343 | static void pkgtemp_device_remove(unsigned int cpu) | 343 | static void __cpuinit pkgtemp_device_remove(unsigned int cpu) |
344 | { | 344 | { |
345 | struct pdev_entry *p; | 345 | struct pdev_entry *p; |
346 | unsigned int i; | 346 | unsigned int i; |
diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c index ffb793af680b..497bd231e241 100644 --- a/drivers/hwmon/via-cputemp.c +++ b/drivers/hwmon/via-cputemp.c | |||
@@ -238,7 +238,7 @@ exit: | |||
238 | } | 238 | } |
239 | 239 | ||
240 | #ifdef CONFIG_HOTPLUG_CPU | 240 | #ifdef CONFIG_HOTPLUG_CPU |
241 | static void via_cputemp_device_remove(unsigned int cpu) | 241 | static void __cpuinit via_cputemp_device_remove(unsigned int cpu) |
242 | { | 242 | { |
243 | struct pdev_entry *p, *n; | 243 | struct pdev_entry *p, *n; |
244 | mutex_lock(&pdev_list_mutex); | 244 | mutex_lock(&pdev_list_mutex); |