regulator: max8649: Constify struct regmap_config and regulator_ops
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 09:05:47 +0000 (10:05 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2015 20:10:13 +0000 (20:10 +0000)
commit035f3324b35296171a9e6bc5744f66daa0ebcfef
treef0b40a33764ee7fb93f6d69a56da058fd9ee9945
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
regulator: max8649: Constify struct regmap_config and regulator_ops

The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const. Make struct
regulator_ops const as well.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8649.c