diff options
author | Chen Gong <gong.chen@linux.intel.com> | 2010-10-08 22:01:48 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-10-25 17:11:21 -0400 |
commit | 17c10d61c750619324ee2a46c5a9e03a435fe212 (patch) | |
tree | 46bceacae951391c9d80e0b20734a88f273eb360 /drivers/hwmon/coretemp.c | |
parent | fd53d08465a79d742a297be1d7d173f8a13972a6 (diff) |
hwmon: ({core, pkg, via-cpu}temp) remove unnecessary CONFIG_HOTPLUG_CPU ifdefs
CONFIG_HOTPLUG_CPU is used too much in some drivers.
This patch clean them up.
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/coretemp.c')
-rw-r--r-- | drivers/hwmon/coretemp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index b4aea20ea076..467488c278e9 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c | |||
@@ -566,9 +566,8 @@ exit: | |||
566 | static void __exit coretemp_exit(void) | 566 | static void __exit coretemp_exit(void) |
567 | { | 567 | { |
568 | struct pdev_entry *p, *n; | 568 | struct pdev_entry *p, *n; |
569 | #ifdef CONFIG_HOTPLUG_CPU | 569 | |
570 | unregister_hotcpu_notifier(&coretemp_cpu_notifier); | 570 | unregister_hotcpu_notifier(&coretemp_cpu_notifier); |
571 | #endif | ||
572 | mutex_lock(&pdev_list_mutex); | 571 | mutex_lock(&pdev_list_mutex); |
573 | list_for_each_entry_safe(p, n, &pdev_list, list) { | 572 | list_for_each_entry_safe(p, n, &pdev_list, list) { |
574 | platform_device_unregister(p->pdev); | 573 | platform_device_unregister(p->pdev); |