https://github.com/torvalds/linux
Revision c6b8724647eb1c24dc37cec8518bb6957f0000a8 authored by Jean Delvare on 14 August 2010, 19:09:00 UTC, committed by Jean Delvare on 14 August 2010, 19:09:00 UTC
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>
1 parent 008e5f3
History
Tip revision: c6b8724647eb1c24dc37cec8518bb6957f0000a8 authored by Jean Delvare on 14 August 2010, 19:09:00 UTC
hwmon: (pc87427) Move sysfs file removal to a separate function
Tip revision: c6b8724
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 172.2 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top