]> git.baikalelectronics.ru Git - uboot.git/commit
regulator: pbias: don't evaluate variable before assignment
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Mar 2018 11:01:06 +0000 (12:01 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:28 +0000 (20:45 -0400)
commita200f248b5f148062e0cce4797b40d88ce259f22
tree4c0c2281eb94a6582fdb67c179241fb21f67cd11
parent78d790fc75a8a34b87fe1e42446a0c8565bdc774
regulator: pbias: don't evaluate variable before assignment

We should not evaluate the value of reg before its value is set.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/regulator/pbias_regulator.c