From 2fa09878ba1dc458b8cb6e9c8fbc8f2e5401d2b2 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 28 Oct 2010 20:31:45 +0200 Subject: [PATCH] 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-format-patch failed