Re: [U-Boot] [PATCH 1/1] regulator: pbias: don't evaluate variable before assignment

2018-03-19 Thread Simon Glass
On 18 March 2018 at 05:01, Heinrich Schuchardt wrote: > We should not evaluate the value of reg before its value is set. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/power/regulator/pbias_regulator.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Simon Glas

[U-Boot] [PATCH 1/1] regulator: pbias: don't evaluate variable before assignment

2018-03-18 Thread Heinrich Schuchardt
We should not evaluate the value of reg before its value is set. Signed-off-by: Heinrich Schuchardt --- drivers/power/regulator/pbias_regulator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/regulator/pbias_regulator.c b/drivers/power/regulator/pbias_r