kernel_optimize_test/drivers/hwmon
Nikolaus Schulz 15d1ad0cc9 hwmon: (f75375s) Catch some attempts to write to r/o registers
It makes no sense to attempt to manually configure the fan in auto mode,
or set the duty cycle directly in closed loop mode.  The corresponding
registers are then read-only.  If the user tries it nonetheless, error out
with EINVAL instead of silently doing nothing.

Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
[guenter.roeck@ericsson.com: Minor formatting cleanup]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2012-03-02 12:02:23 -08:00
..
pmbus hwmon: (max34440) Fix resetting temperature history 2012-02-24 08:06:15 -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 Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
adm1026.c Fix common misspellings 2011-03-31 11:26:23 -03:00
adm1029.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
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) Catch some attempts to write to r/o registers 2012-03-02 12:02:23 -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 hwmon: (fschmd) Drop useless mutex 2011-01-12 21:55:11 +01:00
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 hwmon: (lineage-pem): Fix in1 voltage alarm sysfs attributes 2011-03-16 06:57:34 -07:00
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 i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
lm85.c hwmon: (lm85) Fix error paths in probe function 2011-04-29 16:33:36 +02:00
lm87.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
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 hwmon: Add support for LTC4151 2011-03-14 22:39:11 -07:00
ltc4215.c hwmon: (ltc4215) make sysfs file match the alarm cause 2010-12-13 09:54:50 -08:00
ltc4245.c hwmon: (ltc4245) Expose all GPIO pins as analog voltages 2010-08-14 21:08:49 +02:00
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 i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
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 hwmon: (pc87360) Use pr_fmt and pr_<level> 2011-01-12 21:55:11 +01:00
pc87427.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
pcf8591.c hwmon: (pcf8591) Use pr_fmt and pr_<level> 2011-01-08 10:55:16 -08:00
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 hwmon: (sis5595) Use pr_fmt and pr_<level> 2011-01-08 10:55:18 -08:00
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 hwmon: (smsc47m1) Use pr_fmt and pr_<level> 2011-01-08 10:55:27 -08:00
smsc47m192.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
thmc50.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
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 hwmon: (via686a) Initialize fan_div values 2011-01-12 21:55:09 +01:00
via-cputemp.c hwmon: (via-cputemp) Add VID reporting support 2011-07-25 21:46:10 +02:00
vt1211.c hwmon: (vt1211) Use pr_fmt and pr_<level> 2011-01-08 10:55:30 -08:00
vt8231.c hwmon: (vt8231) Use pr_fmt and pr_<level> 2011-01-08 10:55:31 -08:00
w83l785ts.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
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