hwmon: coretemp: enable coretemp device add operation failure
authorChen Gong <gong.chen@linux.intel.com>
Tue, 10 Aug 2010 00:21:10 +0000 (17:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:10 +0000 (20:45 -0700)
commit851b29cb3b196cb66452ec964ab5f66c9c9cd1ed
treec321ef914ce9b595f3478fe7b79e52bbc050a31f
parent0dca94baeab4a1a514841b0a4c8e3a51dfb4d5ae
hwmon: coretemp: enable coretemp device add operation failure

If one coretemp device can't be added, it should allow subsequent adding
operation because every new-added device will create a new sysfs group,
not an additional sensor sys entry.

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>
drivers/hwmon/coretemp.c