From: Karl Komierowski Date: Wed, 10 Aug 2011 13:09:43 +0000 (+0200) Subject: mfd: Refactor ab8500 GPADC API, add raw access X-Git-Tag: v3.2-rc1~72^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4a40b57b13907b4fe01b6c605be56d8f3733fe;p=pandora-kernel.git 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 Reviewed-by: Mattias Wallin Reviewed-by: John Beckett Signed-off-by: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed