Re: [PATCH 2/2] regulator: Add Freescale's MC34708 regulators

2012-04-20 Thread Mark Brown
On Fri, Apr 20, 2012 at 12:38:41AM +0800, Ying-Chun Liu (PaulLiu) wrote: +static const int mc34708_sw1A[] = { + 65, 662500, 675000, 687500, 70, 712500, Replace these by direct calculations, using tables is both less efficient and less clear. + mc34708_lock(priv-mc34708); +

[PATCH 2/2] regulator: Add Freescale's MC34708 regulators

2012-04-19 Thread Ying-Chun Liu (PaulLiu)
From: Ying-Chun Liu (PaulLiu) paul@linaro.org This patch adds the support of MC34708 regulators. Signed-off-by: Robin Gong b38...@freescale.com Signed-off-by: Ying-Chun Liu (PaulLiu) paul@linaro.org Cc: Liam Girdwood l...@ti.com Cc: Mark Brown broo...@opensource.wolfsonmicro.com Cc: