]> git.karo-electronics.de Git - karo-tx-linux.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)
commitd6fe2c7251e47d2aa4006e73da4f518f4f6f9e74
tree8a0d65485daeb266ae22b67a86cb87bd1c6458e9
parent02e905845fb722be50d605bdcb277bad6a6bfe66
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