regulator: act8865: Remove error variable in act8865_pmic_probe
authorAxel Lin <axel.lin@ingics.com>
Mon, 30 Jun 2014 07:32:09 +0000 (15:32 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 5 Aug 2014 17:02:52 +0000 (18:02 +0100)
Simply use ret variable instead.
Also remove unneeded initialize for ret variable.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/act8865-regulator.c

Simple merge