]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bd1916b53904cf6f446233688814734e115f760
tree5536bd93028056e8c4437204890e84134316887f
parent7b2de261504f363c1e843268c9f2a0df5859520e
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