regulator: palmas: Remove a redundant setting for warm_reset
authorAxel Lin <axel.lin@ingics.com>
Sun, 3 Feb 2013 12:49:56 +0000 (20:49 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Feb 2013 10:24:35 +0000 (10:24 +0000)
commitf33d0081ff3ffb7180a9794e60318458d7671b36
treebe98f273ec36166405e9f24b472bc57ed0fd03db
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7
regulator: palmas: Remove a redundant setting for warm_reset

Current code read "ti,warm_reset" of property twice, and set
pdata->reg_init[idx]->warm_reset twice. Read and set it once is enough.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/palmas-regulator.c