Skip to contentSkip to conversation

hwmon: (coretemp) patches series

PATCH In review Chen Gong 2 participants 2 messages Jul 19, 2010 – Jul 22, 2010

Subsystems (2)
lore
Share & tools
lore

Chen Gong

author
#0 lore raw

v2 cover hwmon: (coretemp) patches series

[PATCH v2 1/3] hwmon: (coretemp) update hotplug condition check [PATCH v2 2/3] hwmon: (coretemp) enable coretemp device add operation failure [PATCH v2 3/3] hwmon: (coretemp) documentation update and cleanup

discard the original one patch for package thermal sensor and send them to all guys in the get_maintainers.pl

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

#1 lore raw
Quoted 6 lines · On Mon, 19 Jul 2010 17:05:11 +0800 Chen Gong <[email protected]> wrote:

[PATCH v2 1/3] hwmon: (coretemp) update hotplug condition check [PATCH v2 2/3] hwmon: (coretemp) enable coretemp device add operation failure [PATCH v2 3/3] hwmon: (coretemp) documentation update and cleanup

discard the original one patch for package thermal sensor and send them to all guys in the get_maintainers.pl

The atches look OK to me. I also queued up this cleanup:

Subject: drivers/hwmon/coretemp.c: remove unneeded #ifdef CONFIG_HOTPLUG_CPU

From: Andrew Morton <[email protected]>

register_hotcpu_notifier() is designed to make these ifdefs unnecessary.

Cc Chen Gong <[email protected]>
Cc Rudolf Marek <[email protected]>
Cc Huaxu Wan <[email protected]>
Cc Jean Delvare <[email protected]>
Cc Guenter Roeck <[email protected]>

---

 drivers/hwmon/coretemp.c |    4 ----
 1 file changed, 4 deletions(-)
drivers/hwmon/coretemp.c renamed from drivers/hwmon/coretemp.c~drivers-hwmon-coretempc-remove-unneeded-ifdef-config_cpu_hotplug +0 -4
diff -puN drivers/hwmon/coretemp.c~drivers-hwmon-coretempc-remove-unneeded-ifdef-config_cpu_hotplug drivers/hwmon/coretemp.c
@@ -480,7 +480,6 @@ exit:
 	return err;
 }
 
-#ifdef CONFIG_HOTPLUG_CPU
 static void coretemp_device_remove(unsigned int cpu)
 {
 	struct pdev_entry *p, *n;
@@ -518,7 +517,6 @@ static int __cpuinit coretemp_cpu_callba
 static struct notifier_block coretemp_cpu_notifier __refdata = {
 	.notifier_call = coretemp_cpu_callback,
 };
-#endif				/* !CONFIG_HOTPLUG_CPU */
 
 static int __init coretemp_init(void)
 {
@@ -552,9 +550,7 @@ static int __init coretemp_init(void)
 		goto exit_driver_unreg;
 	}
 
-#ifdef CONFIG_HOTPLUG_CPU
 	register_hotcpu_notifier(&coretemp_cpu_notifier);
-#endif
 	return 0;
 
 exit_driver_unreg:

_

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