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)" This patch adds the support of MC34708 regulators. Signed-off-by: Robin Gong Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Liam Girdwood Cc: Mark Brown Cc: Samuel Ortiz Cc: Shawn Guo --- drivers/regulator/Kconfig |7 + drivers/regulator/Makefil