linux/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
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
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) Catch some attempts to write to r/o registers 2012-03-02 12:02:23 -08:00
fam15h_power.c
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.c
i5k_amb.c
ibmaem.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
ibmpex.c
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
k10temp.c
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
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
lm80.c hwmon: (lm80) fix checkpatch messages 2012-01-05 08:19:34 -08:00
lm83.c
lm85.c
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
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
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
sch56xx-common.h
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
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
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