From: Jean Delvare Date: Wed, 9 Dec 2009 19:36:06 +0000 (+0100) Subject: hwmon: (adt7475) Move sysfs files removal to a separate function X-Git-Tag: v2.6.33-rc1~335^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f14480b62235ef4fce1cd4755e1cde4c9be5f78;p=pandora-kernel.git hwmon: (adt7475) Move sysfs files removal to a separate function Move sysfs files removal to a separate function. The code is common to the device probing error path and the standard device removal path. As it will grow with future driver development, this avoids code duplication. Signed-off-by: Jean Delvare Cc: Hans de Goede Cc: Jordan Crouse Cc: "Darrick J. Wong" --- Reading git-diff-tree failed