diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-09-28 17:11:00 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-09-28 17:19:20 +0200 |
commit | 0eb9782ad9b1bd496ba61cd5ea27ccb8db21e885 (patch) | |
tree | 9ef8d8f799df410990aa48ca5fd7518b9ba24495 /drivers/sbus | |
parent | Linux 3.1-rc8 (diff) | |
download | linux-0eb9782ad9b1bd496ba61cd5ea27ccb8db21e885.tar.xz linux-0eb9782ad9b1bd496ba61cd5ea27ccb8db21e885.zip |
hwmon: (coretemp) Fixup platform device ID change
With recent change "hwmon: (coretemp) don't use kernel assigned CPU
number as platform device ID", the microcode check is now running on
random CPU. Fix that by checking the microcode before creating the
platform device rather than at probe time.
Also avoid calling TO_PHYS_ID(cpu) twice in the same function, it's
expensive.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions