Home
last modified time | relevance | path

Searched hist:"77 fa44d0e10711e899788c58fe53f8f7b18c7f67" (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/regulator/
H A Dtps6507x-regulator.cdiff 77fa44d0e10711e899788c58fe53f8f7b18c7f67 Thu May 12 07:47:50 CEST 2011 Axel Lin <axel.lin@gmail.com> regulator: Fix desc_id for tps65023/6507x/65910

The desc_id variable should not be a static variable.

The rest of the code assumes the desc_id must less than TPSxxxxx_NUM_REGULATOR.
If we set desc_id to be a static variable, checking the return value of
rdev_get_id() may return error.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Anuj Aggarwal <anuj.aggarwal@ti.com>
Cc: Graeme Gregory <gg@slimlogic.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
H A Dtps65023-regulator.cdiff 77fa44d0e10711e899788c58fe53f8f7b18c7f67 Thu May 12 07:47:50 CEST 2011 Axel Lin <axel.lin@gmail.com> regulator: Fix desc_id for tps65023/6507x/65910

The desc_id variable should not be a static variable.

The rest of the code assumes the desc_id must less than TPSxxxxx_NUM_REGULATOR.
If we set desc_id to be a static variable, checking the return value of
rdev_get_id() may return error.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Anuj Aggarwal <anuj.aggarwal@ti.com>
Cc: Graeme Gregory <gg@slimlogic.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
H A Dtps65910-regulator.cdiff 77fa44d0e10711e899788c58fe53f8f7b18c7f67 Thu May 12 07:47:50 CEST 2011 Axel Lin <axel.lin@gmail.com> regulator: Fix desc_id for tps65023/6507x/65910

The desc_id variable should not be a static variable.

The rest of the code assumes the desc_id must less than TPSxxxxx_NUM_REGULATOR.
If we set desc_id to be a static variable, checking the return value of
rdev_get_id() may return error.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Anuj Aggarwal <anuj.aggarwal@ti.com>
Cc: Graeme Gregory <gg@slimlogic.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>