- 12 5月, 2014 2 次提交
-
-
由 Jean Delvare 提交于
Commit 454aee17 claims to convert driver emc1403 to use devm_hwmon_device_register_with_groups, however the patch itself makes use of hwmon_device_register_with_groups instead. As the driver remove function was still dropped, the hwmon device is no longer unregistered on driver removal, leading to a resource leak. Signed-off-by: NJean Delvare <jdelvare@suse.de> Fixes: 454aee17 hwmon: (emc1403) Convert to use devm_hwmon_device_register_with_groups Cc: Guenter Roeck <linux@roeck-us.net> Cc: stable@vger.kernel.org [3.13+] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Josef Gajdusek 提交于
Attempts to set the hysteresis value to a temperature below the target limit fails with "write error: Numerical result out of range" due to an inverted comparison. Signed-off-by: NJosef Gajdusek <atx@atx.name> Reviewed-by: NJean Delvare <jdelvare@suse.de> Cc: stable@vger.kernel.org [Guenter Roeck: Updated headline and description] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 19 10月, 2013 2 次提交
-
-
由 Guenter Roeck 提交于
EMC1404 and EMC1424 are similar to EMC1403 and EMC1423, but support an additional external temperature sensor. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Guenter Roeck 提交于
Simplify code and reduce its size. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 10 10月, 2012 1 次提交
-
-
由 Jean Delvare 提交于
Many hwmon drivers use jiffies but omit the inclusion of the header file. Fix that, and also fix one driver which was including the header file but didn't need it. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NGuenter Roeck <linux@roeck-us.net> Acked-by: NLuca Tettamanti <kronos.it@gmail.com> Cc: Marc Hulsman <m.hulsman@tudelft.nl> Cc: Rudolf Marek <r.marek@assembler.cz>
-
- 24 9月, 2012 1 次提交
-
-
由 Guenter Roeck 提交于
Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 19 3月, 2012 2 次提交
-
-
由 Guenter Roeck 提交于
Cc: Kalhan Trisal <kalhan.trisal@intel.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Axel Lin 提交于
This patch converts the drivers in drivers/hwmon/* to use the module_i2c_driver() macro which makes the code smaller and a bit simpler. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Cc: Corentin Labbe <corentin.labbe@geomatys.fr> Cc: Dirk Eibach <eibach@gdsys.de> Cc: "Mark M. Hoffman" <mhoffman@lightlink.com> Cc: Steve Glendinning <steve.glendinning@smsc.com> Cc: Riku Voipio <riku.voipio@iki.fi> Cc: Guillaume Ligneul <guillaume.ligneul@gmail.com> Cc: David George <david.george@ska.ac.za> Cc: "Hans J. Koch" <hjk@hansjkoch.de> Cc: Marc Hulsman <m.hulsman@tudelft.nl> Cc: Rudolf Marek <r.marek@assembler.cz> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
-
- 06 1月, 2012 1 次提交
-
-
由 Frans Meulenbroeks 提交于
replaced strict_strtol with kstrtol and replaced strict_strtuol with kstrtuol This satisfies checkpatch -f Compile tested only: no warnings or errors given Signed-off-by: NFrans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
-
- 10 2月, 2011 1 次提交
-
-
由 Guenter Roeck 提交于
I2C address range included 0x2a, which the chips do not support. Replace with 0x29 which is supported but was missing. Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com> Acked-by: NJean Delvare <khali@linux-fr.org>
-
- 13 1月, 2011 1 次提交
-
-
由 Jekyll Lai 提交于
EMC1423 uses the similar register and adds a hardware shutdown pin to protect exceed temperature. This function is set by resistor; it's not necessary to do anything in the driver except add the emc1423 pid of 0x23. Signed-off-by: NJekyll Lai <jekyll_lai@wistron.com> [Updated Kconfig/comments and minor further changes asked for by the hwmon maintainers] Signed-off-by: NAlan Cox <alan@linux.intel.com> [Fixed checkpatch warning] Signed-of--by: NJean Delvare <khali@linux-fr.org>
-
- 17 9月, 2010 1 次提交
-
-
由 Yong Wang 提交于
It is unnecessary and wrong to call hwmon_device_unregister in error handling before hwmon_device_register is called. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Reviewed-by: NGuenter Roeck <guenter.roeck@ericsson.com> Cc: stable@kernel.org Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 15 8月, 2010 1 次提交
-
-
由 Alan Cox 提交于
Add back the power interface we lost due to a slight misunderstanding of the maintainers wishes. Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 28 5月, 2010 1 次提交
-
-
由 Kalhan Trisal 提交于
Provides support for the EMC1403 thermal sensor. Only reporting of values is supported. The various Moorestown specific extras to do with thermal alerts and the like are not in this version of the driver. Considerably edited and tidied up by Alan Cox, plus fixes and detection bits from Jean Delvare. Signed-off-by: NKalhan Trisal <kalhan.trisal@intel.com> Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-