summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/twl6030-irq.c
diff options
context:
space:
mode:
authorKarl Komierowski <karl.komierowski@stericsson.com>2011-08-10 15:09:43 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 14:09:10 +0200
commitbd4a40b57b13907b4fe01b6c605be56d8f3733fe (patch)
tree0a17816675cb65cc54c1262eb1216d70dc2a8ac2 /drivers/mfd/twl6030-irq.c
parent981c65a9b3e24029f64bd45c7a92f901899a033e (diff)
downloadblackbird-op-linux-bd4a40b57b13907b4fe01b6c605be56d8f3733fe.tar.gz
blackbird-op-linux-bd4a40b57b13907b4fe01b6c605be56d8f3733fe.zip
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>
Diffstat (limited to 'drivers/mfd/twl6030-irq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud