linux/drivers/hwmon
Jean Delvare 0f14480b62 hwmon: (adt7475) Move sysfs files removal to a separate function
Move sysfs files removal to a separate function. The code is common to
the device probing error path and the standard device removal path. As
it will grow with future driver development, this avoids code
duplication.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
2009-12-09 20:36:06 +01:00
..
ams
abituguru3.c
abituguru.c
ad7414.c
ad7418.c
adcxx.c
adm1021.c hwmon: (adm1021) Clean up detect function 2009-12-09 20:35:51 +01:00
adm1025.c hwmon: (adm1025) Clean up detect function 2009-12-09 20:35:51 +01:00
adm1026.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
adm1029.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
adm1031.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
adm9240.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
ads7828.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
adt7462.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
adt7470.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
adt7473.c hwmon: (adt7475) Add support for the ADT7473 2009-12-09 20:36:02 +01:00
adt7475.c hwmon: (adt7475) Move sysfs files removal to a separate function 2009-12-09 20:36:06 +01:00
applesmc.c
asb100.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
asus_atk0110.c hwmon: (asus_atk0110) Enable the EC 2009-10-09 20:35:18 +02:00
atxp1.c
coretemp.c
dme1737.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
ds1621.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
f71805f.c
f71882fg.c hwmon: (f71882fg) Add support for the f71889fg (version 2) 2009-12-09 20:36:01 +01:00
f75375s.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
fschmd.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
g760a.c
gl518sm.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
gl520sm.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
hdaps.c
hp_accel.c lis3: add support for the HP HDX 18 2009-10-29 07:39:32 -07:00
hwmon-vid.c
hwmon.c
i5k_amb.c
ibmaem.c
ibmpex.c
it87.c hwmon: (it87) Check for fan2 and fan3 availability 2009-12-09 20:35:48 +01:00
k8temp.c
Kconfig hwmon: (adt7475) Add support for the ADT7490 2009-12-09 20:36:05 +01:00
lis3lv02d_spi.c lis3lv02d_spi: module unload didn't remove sysfs entry 2009-10-08 07:36:40 -07:00
lis3lv02d.c
lis3lv02d.h
lm63.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
lm70.c
lm73.c hwmon: New driver for the National Semiconductor LM73 2009-12-09 20:35:50 +01:00
lm75.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
lm75.h
lm77.c hwmon: (lm77) Clean up detect function 2009-12-09 20:35:52 +01:00
lm78.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
lm80.c
lm83.c hwmon: (lm83) Clean up detect function 2009-12-09 20:35:52 +01:00
lm85.c hwmon: (lm85) Clean up detect function 2009-12-09 20:35:53 +01:00
lm87.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
lm90.c hwmon: (lm90) Clean up detect function 2009-12-09 20:35:53 +01:00
lm92.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
lm93.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
lm95241.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
ltc4215.c ltc4215/ltc4245: Discard obsolete detect methods 2009-10-04 22:53:42 +02:00
ltc4245.c ltc4215/ltc4245: Discard obsolete detect methods 2009-10-04 22:53:42 +02:00
Makefile hwmon: Add Freescale MC13783 ADC driver 2009-12-09 20:35:58 +01:00
max1111.c
max1619.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
max6650.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
mc13783-adc.c hwmon: Add Freescale MC13783 ADC driver 2009-12-09 20:35:58 +01:00
pc87360.c
pc87427.c
pcf8591.c
s3c-hwmon.c hwmon: (s3c-hwmon) Fix build error 2009-12-09 20:35:45 +01:00
sht15.c Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2009-10-11 11:23:33 -07:00
sis5595.c
smsc47b397.c
smsc47m1.c
smsc47m192.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
thmc50.c hwmon: (thmc50) Stop using I2C_CLIENT_MODULE_PARM 2009-12-09 20:35:59 +01:00
tmp401.c hwmon: (tmp401/tmp421) Clean up detect functions 2009-12-09 20:35:54 +01:00
tmp421.c hwmon: (tmp401/tmp421) Clean up detect functions 2009-12-09 20:35:54 +01:00
ultra45_env.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c hwmon: (w83l785ts) Clean up detect function 2009-12-09 20:35:56 +01:00
w83l786ng.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
w83627ehf.c
w83627hf.c hwmon: (w83627hf) Stop using globals for I/O port numbers 2009-12-09 20:35:49 +01:00
w83781d.c hwmon: (w83781d) Clean up detect function 2009-12-09 20:35:54 +01:00
w83791d.c hwmon: (w83791d) Clean up detect function 2009-12-09 20:35:55 +01:00
w83792d.c hwmon: (w83792d) Clean up detect function 2009-12-09 20:35:56 +01:00
w83793.c hwmon: Clean up detect functions 2009-12-09 20:35:57 +01:00
wm831x-hwmon.c
wm8350-hwmon.c