]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit742b56e3d43e724ebfc5dbae74aa4576c5cd1a3c
treebe98f273ec36166405e9f24b472bc57ed0fd03db
parentba8d018b2c0459728dc0f10217f338888c3a5389
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