]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: fan53555: Constify struct regmap_config and slew_rates array
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 09:04:19 +0000 (10:04 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2015 20:09:40 +0000 (20:09 +0000)
commit154c630a56b087647d9c047fe32a77fde2e56440
treeffbf2c1f6851348338439dee7a12b4f84cb58746
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
regulator: fan53555: Constify struct regmap_config and slew_rates array

The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const. Make const also
slew_rates array.

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