Karl Komierowski bd4a40b57b mfd: Refactor ab8500 GPADC API, add raw access
Refactor the GPADC interface to avoid bugs in calling code:

- ab8500_gpadc_[convert|read_raw|ad_to_voltage] clarifies
  each functions use case, *convert wraps *read_raw, and we
  can access raw ADC values properly.
- Renamed gpadc function arguments from "input" to "channel" to
  clarify use, so we don't get confused again.

Signed-off-by: Kalle Komierowski <kalle.komierowski@stericsson.com>
Reviewed-by: Mattias Wallin <mattias.wallin@stericsson.com>
Reviewed-by: John Beckett <john.beckett@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-10-24 14:09:10 +02:00
..
2011-07-31 23:28:26 +02:00
2011-03-23 10:41:43 +01:00
2011-10-24 14:09:09 +02:00
2011-05-24 22:19:37 +02:00
2011-03-31 11:26:23 -03:00
2011-07-31 23:28:26 +02:00
2011-09-06 16:37:59 +02:00
2011-03-27 00:09:51 +01:00
2010-12-24 16:00:17 +01:00
2011-05-26 19:44:56 +02:00
2011-05-26 19:45:28 +02:00
2011-05-26 19:45:28 +02:00
2011-07-31 23:28:25 +02:00
2011-07-31 23:28:25 +02:00
2011-03-27 00:09:51 +01:00
2011-05-26 19:45:40 +02:00
2011-03-31 11:26:23 -03:00
2011-03-23 10:41:59 +01:00
2011-05-26 19:45:20 +02:00
2009-09-17 09:46:59 +02:00