[PATCH] ux500: add a few AB8500 regulator consumers

Rabin Vincent rabin at rab.in
Mon Jan 17 09:59:53 EST 2011


On Mon, Jan 17, 2011 at 18:34, Linus Walleij
<linus.walleij at stericsson.com> wrote:
> +       {
> +               .dev_name = "bh1780",
> +               .supply = "v-als",
> +       },
> +       {
> +               .dev_name = "lsm303dlh.0",
> +               .supply = "v-accel",
> +       },
> +       {
> +               .dev_name = "lsm303dlh.1",
> +               .supply = "v-mag",
> +       },
> +       {
> +               .dev_name = "bu21013_ts.0",
> +               .supply = "v-touch",
> +       },
> +       {
> +               .dev_name = "bu21013_ts.1",
> +               .supply = "v-touch",
> +       },

These device names are all wrong; they need to use the i2c client dev
names.  And the recent patches for regulator support in the bu driver
use a different supply name.

Also, there's a macro to make this list more compact:
REGULATOR_SUPPLY().



More information about the linux-arm-kernel mailing list