linux/drivers/hwmon
Rusty Russell 69116f279a module_param: avoid bool abuse, add bint for special cases.
For historical reasons, we allow module_param(bool) to take an int (or
an unsigned int).  That's going away.

A few drivers really want an int: they set it to -1 and a parameter
will set it to 0 or 1.  This sucks: reading them from sysfs will give
'Y' for both -1 and 1, but if we change it to an int, then the users
might be broken (if they did "param" instead of "param=1").

Use a new 'bint' parser for them.

(ntfs has a different problem: it needs an int for debug_msgs because
it's also exposed via sysctl.)

Cc: Steve Glendinning <steve.glendinning@smsc.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Cc: Christoph Raisch <raisch@de.ibm.com>
Cc: Roland Dreier <roland@kernel.org>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Cc: linux390@de.ibm.com
Cc: Anton Altaparmakov <anton@tuxera.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: lm-sensors@lm-sensors.org
Cc: linux-rdma@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linux-ntfs-dev@lists.sourceforge.net
Cc: alsa-devel@alsa-project.org
Acked-by: Takashi Iwai <tiwai@suse.de> (For the sound part)
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> (For the hwmon driver)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-01-13 09:32:17 +10:30
..
pmbus hwmon: (pmbus/zl6100) Only instantiate external temperature sensor if enabled 2012-01-05 08:19:28 -08:00
abituguru3.c hwmon: (abituguru) Depend on DMI 2011-05-25 20:43:33 +02:00
abituguru.c hwmon: (abituguru) Depend on DMI 2011-05-25 20:43:33 +02:00
acpi_power_meter.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
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 i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
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: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
adm9240.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
ads1015.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
ads7828.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
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 x86: Simplify code by removing a !SMP #ifdefs from 'struct cpuinfo_x86' 2011-12-21 09:25:09 +01:00
dme1737.c switch sysfs_chmod_file() to umode_t 2012-01-03 22:54:56 -05:00
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) Use pr_fmt and pr_<level> 2011-01-08 10:55:07 -08:00
f71882fg.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
f75375s.c hwmon: (f75375s) Add support for F75387SG/RG 2012-01-05 08:19:32 -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: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08: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: (f75375s) Add support for F75387SG/RG 2012-01-05 08:19:32 -08: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) Consider LM64 temperature offset 2011-02-09 13:45:42 -08: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: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
lm92.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
lm93.c hwmon: (lm93) Add support for LM94 2011-01-18 12:22:54 -08:00
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 max1111.c: fix checkpatch warning 2012-01-05 08:19:36 -08:00
max1619.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
max1668.c switch ->is_visible() to returning umode_t 2012-01-03 22:54:55 -05:00
max6639.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -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: replaced strict_str* with kstr* 2012-01-05 08:19:34 -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 i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83627ehf.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
w83627hf.c hwmon: (w83627hf) Use pr_fmt and pr_<level> 2011-01-08 10:55:33 -08:00
w83781d.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
w83791d.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
w83792d.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
w83793.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
w83795.c hwmon: replaced strict_str* with kstr* 2012-01-05 08:19:34 -08:00
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