Re: [PATCH] mfd/ab8500-gpadc: refactor GPADC API, add raw access

From: Samuel Ortiz
Date: Mon Aug 22 2011 - 09:07:56 EST


Hi Linus,

On Wed, Aug 10, 2011 at 03:09:43PM +0200, Linus Walleij wrote:
> From: Karl Komierowski <karl.komierowski@xxxxxxxxxxxxxx>
>
> 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.

Ok, thanks for the clarification.
Patch applied now.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/