regulator: mt6311: Trivial clean up
authorAxel Lin <axel.lin@ingics.com>
Thu, 30 Jul 2015 13:06:43 +0000 (21:06 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 3 Aug 2015 16:22:37 +0000 (17:22 +0100)
commit08b472f7b602c60c69f278ba1e15535f5c86ee24
tree5536bd93028056e8c4437204890e84134316887f
parent53e381627d34c4c7a3ea00c041c38f447828f755
regulator: mt6311: Trivial clean up

Make mt6311_buck_ops, mt6311_ldo_ops and mt6311_regulators const and remove
unneeded error variable in mt6311_i2c_probe().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6311-regulator.c