hwmon: (coretemp) don't use kernel assigned CPU number as platform device ID
authorJan Beulich <JBeulich@suse.com>
Fri, 23 Sep 2011 10:35:00 +0000 (06:35 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 23 Sep 2011 17:38:09 +0000 (10:38 -0700)
commitb3a242a6e4b8c09dbb466ab7a9d2c724e75faa67
tree6719cdf59b4c6845759b7c818253b3f77c4b0a69
parentcc41d586e8b4d76164fe7731c1c49be6cc5fc7e6
hwmon: (coretemp) don't use kernel assigned CPU number as platform device ID

... as that has the potential to conflict with (particularly soft) CPU
hot removal and re-adding.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
[guenter.roeck@ericsson.com: use platform device ID as physical CPU id]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/coretemp.c