regulator: palmas: Fix incorrect condition
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 8 May 2013 10:39:06 +0000 (16:09 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 May 2013 10:55:46 +0000 (11:55 +0100)
Since 'id' cannot take two values at the same time, the condition
should probably be an OR (||) instead of AND (&&).

Introduced by commit 28d1e8cd67 ("regulator: palma: add ramp delay
support through regulator constraints").

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found