diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-08-14 21:09:00 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-08-14 21:09:00 +0200 |
commit | c6b8724647eb1c24dc37cec8518bb6957f0000a8 (patch) | |
tree | ff5c9d77d023d049c51b84323b809bd16bd080f8 /fs/nfsd | |
parent | 008e5f3350e0a474baff3ed3eb4f79653a6b6745 (diff) | |
download | linux-3.10-c6b8724647eb1c24dc37cec8518bb6957f0000a8.tar.gz linux-3.10-c6b8724647eb1c24dc37cec8518bb6957f0000a8.tar.bz2 linux-3.10-c6b8724647eb1c24dc37cec8518bb6957f0000a8.zip |
hwmon: (pc87427) Move sysfs file removal to a separate function
The sysfs file removal code is the same in the probe error path and in
the remove function, so move it to a separate function to avoid code
duplication.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions