From: Axel Lin Date: Thu, 28 Mar 2013 09:23:00 +0000 (+0800) Subject: regulator: ab8500: Update info->update_val only when successfully update register X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~25^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742a73259d2d07ad6870736749aa8d6821ed96d9;p=pandora-kernel.git 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 Acked-by: Bengt Jonsson Signed-off-by: Mark Brown --- Reading git-diff-tree failed