hwmon: (coretemp) Skip duplicate CPU entries
authorJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:49 +0000 (16:22 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:49 +0000 (16:22 +0200)
commitd883b9f0977269d519469da72faec6a7f72cb489
tree75f5764d4272e8aef005ecb5e7667773afa1b7e7
parent436cad2a41a40c6c32bd9152b63d17eeb1f7c99b
hwmon: (coretemp) Skip duplicate CPU entries

On hyper-threaded CPUs, each core appears twice in the CPU list. Skip
the second entry to avoid duplicate sensors.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Huaxu Wan <huaxu.wan@intel.com>
Cc: stable@kernel.org
drivers/hwmon/coretemp.c