diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-28 10:23:00 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-29 18:52:55 +0100 |
commit | 742a73259d2d07ad6870736749aa8d6821ed96d9 (patch) | |
tree | 611eec8737682846eecd01c2049b30513d561aba /drivers/hwmon | |
parent | regulator: ab8500: Init debug from regulator driver (diff) | |
download | linux-742a73259d2d07ad6870736749aa8d6821ed96d9.tar.xz linux-742a73259d2d07ad6870736749aa8d6821ed96d9.zip |
regulator: ab8500: Update info->update_val only when successfully update register
Don't update info->update_val if write to the 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>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions