aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ads1015.c
Commit message (Collapse)AuthorAgeFilesLines
* hwmon: (ads1015) Fix file leak in probe functionGuenter Roeck2012-02-291-2/+1
| | | | | | | | | | | | | | commit 363434b5dc352464ac7601547891e5fc9105f124 upstream. An error while creating sysfs attribute files in the driver's probe function results in an error abort, but already created files are not removed. This patch fixes the problem. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Cc: Dirk Eibach <eibach@gdsys.de> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* hwmon: (ads1015) Make gain and datarate configurableDirk Eibach2011-03-211-40/+109
| | | | | | | | | | | Configuration for ads1015 gain and datarate is possible via devicetree or platform data. This is a followup patch to previous ads1015 patches on Jean Delvares tree. Signed-off-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* hwmon: (ads1015) Drop dynamic attribute groupJean Delvare2011-03-211-32/+18
| | | | | | | It is cheaper to handle attributes individually. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Dirk Eibach <eibach@gdsys.de>
* hwmon: Add support for Texas Instruments ADS1015Dirk Eibach2011-03-211-0/+282
Signed-off-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>