x86/hwmon: fix initialization of pkgtemp
authorJan Beulich <jbeulich@novell.com>
Mon, 13 Sep 2010 10:18:54 +0000 (10:18 +0000)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 24 Sep 2010 18:44:19 +0000 (11:44 -0700)
commitf6aeccdb96fc0555e939dd507702922f07dcbcbb
treed3b552f34d98902931a9a3a5432663361b3dc788
parenta46590533ad7b0f3f640732081d7e1658145c0ba
x86/hwmon: fix initialization of pkgtemp

Feature availability should also be checked in the hotplug code path.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pkgtemp.c