regulator: ab8500-ext: Don't update info->is_enabled if write to register fails
authorAxel Lin <axel.lin@ingics.com>
Tue, 2 Apr 2013 12:56:16 +0000 (20:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 2 Apr 2013 22:05:39 +0000 (23:05 +0100)
commit37daa8aed1af2e09abfdb66e8da9074eb9b9e1a1
tree09e5fd23c4e541be8524975d4d220e686e916f14
parent1ec990c0020496ad32bf35726f7c033d09c2fce7
regulator: ab8500-ext: Don't update info->is_enabled if write to register fails

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>
drivers/regulator/ab8500-ext.c