From: Jean Delvare Date: Thu, 28 Oct 2010 18:31:45 +0000 (+0200) Subject: hwmon: (w83795) Move files removal to a separate function X-Git-Tag: v2.6.37-rc1~59^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa09878ba1dc458b8cb6e9c8fbc8f2e5401d2b2;p=pandora-kernel.git hwmon: (w83795) Move files removal to a separate function Sysfs files must be removed on device removal but also when device registration fails. Move the code to a separate function to avoid code redundancy. Signed-off-by: Jean Delvare --- Reading git-diff-tree failed