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)
commit8a221df6996f296aba4d4d713a42799bb28fde69
treebc626a5bdaef088f439edf073720342a553119cb
parent58c9537791018f1cbe1c2b46128207758dce3745
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>
drivers/regulator/max8998.c