commit | ad78bba42adcbfedf7a3d53ad1247bc079b4a24c | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Mar 09 15:29:31 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon Mar 10 10:11:15 2014 +0000 |
tree | e7237ac38f85c51c1e5e6a54ae833a514b7cdf9a | |
parent | f0d5c73af6e02ca49a51332360171a3da40dcbf7 [diff] |
regulator: max8997: Remove unnecessary **rdev from struct max8997_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>