commit | 2fa09878ba1dc458b8cb6e9c8fbc8f2e5401d2b2 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Oct 28 20:31:45 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Thu Oct 28 20:31:45 2010 +0200 |
tree | 60165028341195ff004c5dac0f9702c8e23aaace | |
parent | 2be381de0f1e5e0324e8b373e7a84fc9d25d05d3 [diff] |
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 <khali@linux-fr.org>