commit | 8a221df6996f296aba4d4d713a42799bb28fde69 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Mar 09 15:32:19 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon Mar 10 10:12:13 2014 +0000 |
tree | bc626a5bdaef088f439edf073720342a553119cb | |
parent | 58c9537791018f1cbe1c2b46128207758dce3745 [diff] |
regulator: max8998: Remove unnecessary **rdev from struct max8998_data Now we are using devm_regulator_register(), so we don't need to allocate *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> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>