linux/drivers/hwmon
Guenter Roeck 363434b5dc hwmon: (ads1015) Fix file leak in probe function
An error while creating sysfs attribute files in the driver's probe function
results in an error abort, but already created files are not removed. This patch
fixes the problem.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: stable@vger.kernel.org # 3.0+
Cc: Dirk Eibach <eibach@gdsys.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
2012-02-23 06:47:41 -08:00
..
pmbus hwmon: (pmbus/zl6100) Only instantiate external temperature sensor if enabled 2012-01-05 08:19:28 -08:00
abituguru3.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
abituguru.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
acpi_power_meter.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
ad7314.c hwmon: Remove redundant spi driver bus initialization 2011-11-25 07:48:16 -08:00
ad7414.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
ad7418.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
adcxx.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
adm1021.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
adm1025.c
adm1026.c
adm1029.c
adm1031.c hwmon: (adm1031) Fix coding style issues 2012-01-16 22:51:48 +01:00
adm9240.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
ads1015.c hwmon: (ads1015) Fix file leak in probe function 2012-02-23 06:47:41 -08:00
ads7828.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
ads7871.c hwmon: Remove redundant spi driver bus initialization 2011-11-25 07:48:16 -08:00
adt7411.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
adt7462.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
adt7470.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
adt7475.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
amc6821.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
applesmc.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
asb100.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
asc7621.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
asus_atk0110.c hwmon: (asus_atk0110) Fix memory leak 2011-07-17 18:39:18 +02:00
atxp1.c
coretemp.c hwmon: (coretemp) Add missing section annotations 2012-01-16 22:51:47 +01:00
dme1737.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
ds620.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
ds1621.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
emc6w201.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
emc1403.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
emc2103.c module_param: avoid bool abuse, add bint for special cases. 2012-01-13 09:32:17 +10:30
exynos4_tmu.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
f71805f.c hwmon: (f71805f) Fix clamping of temperature limits 2012-01-20 09:05:35 -08:00
f71882fg.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
f75375s.c hwmon: (f75375s) Let f75375_update_device treat pwmX as a measured value 2012-02-09 11:21:49 -08:00
fam15h_power.c hwmon: Add driver for AMD family 15h processor power information 2011-05-25 20:43:31 +02:00
fschmd.c
g760a.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
gl518sm.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
gl520sm.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
gpio-fan.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
hwmon-vid.c hwmon-vid: Add support for VIA family 6 model D CPU 2011-07-25 21:46:10 +02:00
hwmon.c hwmon: convert idr to ida and use ida_simple interface 2011-10-31 17:30:51 -07:00
i5k_amb.c hwmon: (i5k_amb) Drop i5k_channel_pci_id 2011-08-23 21:04:28 -07:00
ibmaem.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
ibmpex.c hwmon: (ibmpex) Initialize sysfs attributes 2011-06-17 23:22:27 -07:00
it87.c hwmon: (it87) Add IT8728F support 2012-01-16 22:51:48 +01:00
jc42.c Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging 2012-01-08 13:39:24 -08:00
jz4740-hwmon.c hwmon: (jz4740) Staticise jz4740_hwmon_driver 2011-12-12 08:31:21 -08:00
k8temp.c hwmon: Use helper functions to set and get driver data 2011-05-25 20:43:31 +02:00
k10temp.c hwmon: (k10temp) Add support for Fam15h (Bulldozer) 2011-05-25 20:43:31 +02:00
Kconfig hwmon: (it87) Add IT8728F support 2012-01-16 22:51:48 +01:00
lineage-pem.c
lm63.c hwmon: (lm63) Support extended lookup table of LM96163 2012-01-16 22:51:47 +01:00
lm70.c hwmon: Use helper functions to set and get driver data 2011-05-25 20:43:31 +02:00
lm73.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
lm75.c hwmon: (lm75) fix checkpatch warning 2012-01-05 08:19:33 -08:00
lm75.h hwmon: (lm75) fix checkpatch warnings 2012-01-05 08:19:35 -08:00
lm77.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
lm78.c hwmon: (lm78) Become the maintainer 2011-07-25 21:46:11 +02:00
lm80.c hwmon: (lm80) fix checkpatch messages 2012-01-05 08:19:34 -08:00
lm83.c
lm85.c hwmon: (lm85) Fix error paths in probe function 2011-04-29 16:33:36 +02:00
lm87.c
lm90.c hwmon: (lm90) Add range check to set_update_interval 2012-01-16 22:51:47 +01:00
lm92.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
lm93.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
lm95241.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
lm95245.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
ltc4151.c
ltc4215.c
ltc4245.c
ltc4261.c hwmon: (ltc4261) set data->valid to 0 if error 2012-01-05 08:19:32 -08:00
Makefile hwmon: AD7314 driver (ported from IIO) 2011-10-24 11:09:41 -07:00
max1111.c hwmon: (max1111) Change sysfs interface to in[0-3]_input in millivolts 2012-01-16 22:51:45 +01:00
max1619.c
max1668.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
max6639.c hwmon: (max6639) Fix PPR register initialization to set both channels 2012-02-21 14:30:45 -08:00
max6642.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
max6650.c switch ->is_visible() to returning umode_t 2012-01-03 22:54:55 -05:00
max16065.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
mc13783-adc.c hwmon: Convert mc13783-adc to mc13xxx API 2011-10-24 14:09:12 +02:00
ntc_thermistor.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
pc87360.c
pc87427.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
pcf8591.c
s3c-hwmon.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
sch56xx-common.c hwmon: New driver sch5636 2011-07-25 21:46:09 +02:00
sch56xx-common.h hwmon: (sch5627) Factor out some code shared with sch5636 driver 2011-07-25 21:46:09 +02:00
sch5627.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
sch5636.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
sht15.c hwmon: (sht15) fix bad error code 2012-01-29 10:35:21 -08:00
sht21.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
sis5595.c
smm665.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
smsc47b397.c hwmon: (smsc47b397) Fix checkpatch errors 2011-11-04 12:00:47 +01:00
smsc47m1.c
smsc47m192.c
thmc50.c
tmp102.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
tmp401.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
tmp421.c switch ->is_visible() to returning umode_t 2012-01-03 22:54:55 -05:00
twl4030-madc-hwmon.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
ultra45_env.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
via686a.c
via-cputemp.c hwmon: (via-cputemp) Add VID reporting support 2011-07-25 21:46:10 +02:00
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
w83627ehf.c hwmon: (w83627ehf) Remove duplicate code 2012-02-08 20:47:32 -08:00
w83627hf.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
w83781d.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
w83791d.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
w83792d.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
w83793.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
w83795.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
wm831x-hwmon.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00
wm8350-hwmon.c hwmon: convert drivers/hwmon/* to use module_platform_driver() 2011-11-26 09:48:20 -08:00