ARM: ux300: Fix unimplementable regulation constraints
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 31 Mar 2012 16:44:53 +0000 (17:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Apr 2012 07:52:49 +0000 (09:52 +0200)
commita102962ffd45fe8bac68ea6d9f72d3ed19dc44e1
tree5f66dda048bb537fe9a2c75ed888e44d3d73a3e1
parente816b57a337ea3b755de72bec38c10c864f23015
ARM: ux300: Fix unimplementable regulation constraints

It doesn't make sense to grant permission to change the status of a
regulator that is also set as always on and similarly it doesn't make
sense to allow a driver to change the voltage of a regulator which can
only be set to a single voltage.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/i2c.c