diff options
author | Chen Gong <gong.chen@linux.intel.com> | 2010-08-09 17:21:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 20:45:10 -0700 |
commit | 0dca94baeab4a1a514841b0a4c8e3a51dfb4d5ae (patch) | |
tree | b20fdb05c2f5fb9bc7be4065802ca12b024a44f1 /drivers/hwmon/jc42.c | |
parent | 4453d7364d3b1f92475f104d4625abee36a7733d (diff) |
hwmon: coretemp: update hotplug condition check
Fix two errors in hotplug. One is for hotplug notifier. The other is
unnecessary driver unregister. Because even none of online cpus supports
coretemp, we can't assume new onlined cpu doesn't support it either. If
related driver is unregistered there we have no chance to use coretemp
from then on.
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Cc: Rudolf Marek <r.marek@assembler.cz>
Cc: Huaxu Wan <huaxu.wan@intel.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/jc42.c')
0 files changed, 0 insertions, 0 deletions