summaryrefslogtreecommitdiffstats
path: root/Documentation/namespaces
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-04-09 20:17:15 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-17 15:08:27 +0100
commit0b665062a1dde470d69ff3bd435b090a119991ab (patch)
treebc073e4b186e28065a1c1f5b3f5165d29b7fb672 /Documentation/namespaces
parentf04adc5ab3b70ad9b7d17d6a6fc2113669134a4d (diff)
downloadblackbird-op-linux-0b665062a1dde470d69ff3bd435b090a119991ab.tar.gz
blackbird-op-linux-0b665062a1dde470d69ff3bd435b090a119991ab.zip
regulator: ab8500: Don't update lp_mode_req flag in set_mode() error paths
Currently, set invalid mode setting for shared mode regulators may change sm->lp_mode_req flag. This patch ensures we don't set lp_mode_req flag to wrong status if set_mode() fails. This patch includes some clean up, and these changes makes this patch looks like code refactor. The clean up is mainly to avoid adding ugly code to handle failure paths. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/namespaces')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud