Re: [PATCH 1/6] regulator: Fix WM831x regulator ID lookups formultiple WM831xs

From: Liam Girdwood
Date: Thu Jul 28 2011 - 05:30:44 EST


On Mon, 2011-07-25 at 22:20 +0100, Mark Brown wrote:
> With multiple wm831x devices the device IDs used for the regulators will
> not always be contiguous so simply taking the modulus is not sufficient
> to look up the ID, we need to reverse the way the ID is generated.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/regulator/wm831x-dcdc.c | 16 ++++++++++++++--
> drivers/regulator/wm831x-ldo.c | 25 ++++++++++++++++++++++---
> 2 files changed, 36 insertions(+), 5 deletions(-)
>

All Applied

Thanks

Liam

--
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/