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)
commit40d3bc19667337d4cbad0075d048261fcbe39117
tree22af50a987b47b20557014085b44c70afff0c7d3
parent48a1e1b50d9e848fea9708795bd5d9aa97aa9c2a
regulator: act8865: Remove error variable in act8865_pmic_probe

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