]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f5ffcfb09522537a8e065a553fe2b6ebd7bd8f1
treed3b552f34d98902931a9a3a5432663361b3dc788
parent3362c9e766161b8bad6bb9996739641a52b8a49a
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