summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
Commit message (Collapse)AuthorAgeFilesLines
* hwmon: (w83793) Remove legacy chassis intrusion detection sysfs attributesGuenter Roeck2012-09-241-23/+0Star
| | | | | Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org>
* hwmon: (w83792d) Remove legacy chassis intrusion detection attributesGuenter Roeck2012-09-241-56/+2Star
| | | | | Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org>
* hwmon: (adm9240) Remove legacy chassis intrusion detection sysfs attributeGuenter Roeck2012-09-241-26/+0Star
| | | | | Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org>
* hwmon: (lm70) Allow 4wire SPI bus with LM70Christophe Leroy2012-09-241-4/+0Star
| | | | | | | | Removing the 3wire limitation on LM70 as the component also allows operation on 4wire SPI bus Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (sht15) remove multiple driver registrationVivien Didelot2012-09-241-71/+23Star
| | | | | | | | | Declare an array of platform_device_id, instead of registering a driver for each supported chip. This makes the code cleaner. Also add a module description. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: add Maxim MAX197 supportVivien Didelot2012-09-243-0/+359
| | | | | | | | | | | | The MAX197 is an A/D converter, made by Maxim. This driver currently supports the MAX197, and MAX199. They are both 8-Channel, Multi-Range, 5V, 12-Bit DAS with 8+4 Bus Interface and Fault Protection. The available ranges for the MAX197 are {0,-5V} to 5V, and {0,-10V} to 10V, while they are {0,-2V} to 2V, and {0,-4V} to 4V on the MAX199. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (adt7410) handle errors from adt7410_update_device()Dan Carpenter2012-09-241-2/+7
| | | | | | | Smatch complains that adt7410_update_device() can return error pointers. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: Driver for ADT7410Hartmut Knaack2012-09-243-0/+470
| | | | | | | | | | | | | | | | This patch brings basic support for the Analog Devices ADT7410 temperature sensor. The following functionality has been implemented: * get current temperature * get/set minimum, maximum and critical temperature * get/set hysteresis * get alarm events for minimum, maximum and critical temperature All implemented sysfs attributes have been sucessfully tested at temperatures of 15°C to 40°C. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (fam15h_power) Convert to use devm_ functionsGuenter Roeck2012-09-241-17/+8Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Andreas Herrmann <andreas.herrmann3@amd.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (via-cputemp) Convert to use devm_ functionsGuenter Roeck2012-09-241-16/+7Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (jz4740-hwmon) Convert to use devm_ functionsGuenter Roeck2012-09-241-37/+16Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (w83l786ng) Convert to use devm_ functionsGuenter Roeck2012-09-241-9/+4Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (vt8231) Convert to use devm_ functionsGuenter Roeck2012-09-241-18/+6Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Roger Lucas <vt8231@hiddenengine.co.uk> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (sht21) Convert to use devm_ functionsGuenter Roeck2012-09-241-9/+4Star
| | | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Jonathan Cameron <jic23@cam.ac.uk> Cc: Urs Fleisch <urs.fleisch@sensirion.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (sht15) Convert to use devm_ functionsGuenter Roeck2012-09-241-38/+20Star
| | | | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Jonathan Cameron <jic23@cam.ac.uk> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
* hwmon: (sch5636) Convert to use devm_ functionsGuenter Roeck2012-09-241-4/+2Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (sch5627) Convert to use devm_ functionsGuenter Roeck2012-09-241-3/+2Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (mcp3021) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+5Star
| | | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Mingkai Hu <Mingkai.hu@freescale.com> Cc: Xie Xiaobo <X.Xie@freescale.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ltc4245) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+4Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Ira W. Snyder <iws@ovro.caltech.edu> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ltc4215) Convert to use devm_ functionsGuenter Roeck2012-09-241-11/+4Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Ira W. Snyder <iws@ovro.caltech.edu> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ltc4151) Convert to use devm_ functionsGuenter Roeck2012-09-241-11/+4Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Per Dalen <per.dalen@appeartv.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (max1668) Convert to use devm_ functionsGuenter Roeck2012-09-241-5/+3Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (lm95245) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+5Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (lm95241) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+5Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (lm70) Convert to use devm_ functionsGuenter Roeck2012-09-241-3/+1Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (g760a) Convert to use devm_ functionsGuenter Roeck2012-09-241-7/+3Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (f75375s) Convert to use devm_ functionsGuenter Roeck2012-09-241-5/+3Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (f71882fg) Convert to use devm_ functionsGuenter Roeck2012-09-241-11/+4Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (emc2103) Convert to use devm_ functionsGuenter Roeck2012-09-241-6/+4Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (emc1403) Convert to use devm_ functionsGuenter Roeck2012-09-241-11/+7Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ds620) Convert to use devm_ functionsGuenter Roeck2012-09-241-11/+5Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (dme1737) Convert to use devm_ functionsGuenter Roeck2012-09-241-32/+13Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Juerg Haefliger <juergh@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (asb100) Convert to use devm_ functionsGuenter Roeck2012-09-241-12/+5Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Mark M. Hoffman <mhoffman@lightlink.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (amc6821) Convert to use devm_ functionsGuenter Roeck2012-09-241-11/+5Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (adt7470) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+5Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (adt7462) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+5Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (adt7411) Convert to use devm_ functionsGuenter Roeck2012-09-241-6/+3Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ads7871) Convert to use devm_ functionsGuenter Roeck2012-09-241-14/+7Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ads7828) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+5Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ads1015) Convert to use devm_ functionsGuenter Roeck2012-09-241-8/+4Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (adm1029) Convert to use devm_ functionsGuenter Roeck2012-09-241-14/+7Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Corentin Labbe <corentin.labbe@geomatys.fr> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (adcxx) Convert to use devm_ functionsGuenter Roeck2012-09-241-3/+1Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ad7418) Convert to use devm_ functionsGuenter Roeck2012-09-241-14/+7Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ad7414) Convert to use devm_ functionsGuenter Roeck2012-09-241-14/+7Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (ad7314) Convert to use devm_ functionsGuenter Roeck2012-09-241-10/+6Star
| | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (abituguru3) Convert to use devm_ functionsGuenter Roeck2012-09-241-4/+2Star
| | | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Hans de Goede <hdegoede@redhat.com> Cc: Alistair John Strachan <alistair@devzero.co.uk> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (abituguru) Convert to use devm_ functionsGuenter Roeck2012-09-241-5/+2Star
| | | | | | | Convert to use devm_ functions to reduce code size and simplify the code. Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (sch56xx-common) Fix build warningsGuenter Roeck2012-09-241-14/+14
| | | | | | | | | | | | Fix: warning: 'address' may be used uninitialized in this function warning: 'name' may be used uninitialized in this function While those are false warnings, the patch reduces module size on x86_64 by approximately 110 bytes, so it is still worth the effort. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Hans de Goede <hdegoede@redhat.com>
* hwmon: (f71882fg) Fix build warningGuenter Roeck2012-09-241-16/+17
| | | | | | | | | | | | Fix: warning: 'address' may be used uninitialized in this function [-Wuninitialized] While this is a false warning, the patch reduces module size on x86_64 by approximately 175 bytes, so it is still worth the effort. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Hans de Goede <hdegoede@redhat.com>
* hwmon: (fam15h_power) Tweak runavg_range on resumeAndreas Herrmann2012-09-231-2/+13
| | | | | | | | | | | | | | The quirk introduced with commit 00250ec90963b7ef6678438888f3244985ecde14 (hwmon: fam15h_power: fix bogus values with current BIOSes) is not only required during driver load but also when system resumes from suspend. The BIOS might set the previously recommended (but unsuitable) initilization value for the running average range register during resume. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Tested-by: Andreas Hartmann <andihartmann@01019freenet.de> Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: stable@vger.kernel.org # 3.0+