]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: tps6586x: Remove unnecessary rdev[] array
authorAxel Lin <axel.lin@ingics.com>
Sat, 8 Mar 2014 13:15:59 +0000 (21:15 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 13 Mar 2014 11:42:23 +0000 (11:42 +0000)
commita4099822215d9e3da3ff44cc0269c52b77d17646
tree8a0d65485daeb266ae22b67a86cb87bd1c6458e9
parent1ca597b13b8c85dd2e29f41d4ec0736a4f8f65ef
regulator: tps6586x: Remove unnecessary rdev[] array

Now we are using devm_regulator_register(), so we don't need the rdev[] array
to store return value of devm_regulator_register. Use a *rdev variable is
enough for checking return status.

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