diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-10-28 20:31:45 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2010-10-28 20:31:45 +0200 |
commit | 2fa09878ba1dc458b8cb6e9c8fbc8f2e5401d2b2 (patch) | |
tree | 60165028341195ff004c5dac0f9702c8e23aaace /kernel | |
parent | hwmon: (w83795) Improve detection routine (diff) | |
download | linux-2fa09878ba1dc458b8cb6e9c8fbc8f2e5401d2b2.tar.xz linux-2fa09878ba1dc458b8cb6e9c8fbc8f2e5401d2b2.zip |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions