]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5093eb5bd965a8f54d7583c09669c0b948f43731
treec321ef914ce9b595f3478fe7b79e52bbc050a31f
parent267bd68bf5fadcee3aab9fb4d3862be453888287
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