regulator: hi6421: Remove unused fields from struct hi6421_regulator_info
authorAxel Lin <axel.lin@ingics.com>
Thu, 21 Aug 2014 02:31:33 +0000 (10:31 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 21 Aug 2014 14:49:57 +0000 (09:49 -0500)
The valid_modes_mask and *dev are not used in this driver, remove them.
Current code uses devm_regulator_register, so we don't need *regulator in
hi6421_regulator_info. Use a local variable instead.

Also removes a few unnecessary inclusion of header files.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found