summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max6697.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hwmon: (max6697) Use of_property_read_bool at appropriate placesAxel Lin2014-08-041-9/+7
| | | | | | | This slightly improves readability. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (max6697) fix coccinelle warningsFengguang Wu2013-10-181-4/+1
| | | | | | | | | | | | drivers/hwmon/max6697.c:649:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (max6697) Convert to use devm_hwmon_device_register_with_groupsGuenter Roeck2013-10-141-37/+17
| | | | Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (max6697) fix MAX6581 idealityVivien Didelot2013-08-031-2/+2
| | | | | | | | | Without this patch, the values for ideality (register 0x4b) and ideality selection mask (register 0x4c) are inverted. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Cc: stable@vger.kernel.org # 3.9+ Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: (max6697) Use is_visible and sysfs_create_groupGuenter Roeck2013-04-081-116/+93
| | | | | | | | Simplify the code and reduce its size by using is_visible to determine valid attributes, and sysfs_create_group to create all of them with a single call. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: Driver for Maxim MAX6697 and compatiblesGuenter Roeck2013-02-061-0/+726
Add support for MAX6581, MAX6602, MAX6622, MAX6636, MAX6689, MAX6693, MAX6694, MAX6697, MAX6698, and MAX6699 temperature sensors Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Jean Delvare <khali@linux-fr.org>