]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8dbe5949946a1df60fd75b6b483e4b4025cc519c
treef0b40a33764ee7fb93f6d69a56da058fd9ee9945
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
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