regulator: max8998: Remove unnecessary **rdev from struct max8998_data
authorAxel Lin <axel.lin@ingics.com>
Sun, 9 Mar 2014 07:32:19 +0000 (15:32 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 10:12:13 +0000 (10:12 +0000)
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>
drivers/regulator/max8998.c

Simple merge