From: Jean Delvare Date: Sat, 14 Aug 2010 19:09:00 +0000 (+0200) Subject: hwmon: (pc87427) Move sysfs file removal to a separate function X-Git-Tag: v2.6.36-rc1~14^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6b8724647eb1c24dc37cec8518bb6957f0000a8;p=pandora-kernel.git hwmon: (pc87427) Move sysfs file removal to a separate function The sysfs file removal code is the same in the probe error path and in the remove function, so move it to a separate function to avoid code duplication. Signed-off-by: Jean Delvare Acked-by: Guenter Roeck --- Reading git-diff-tree failed