power: max17042: Constify struct regmap_config
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 08:50:17 +0000 (09:50 +0100)
committerSebastian Reichel <sre@kernel.org>
Tue, 20 Jan 2015 12:58:32 +0000 (13:58 +0100)
commite02912855f4dcb01655cac75f429035fc84fb693
tree87bc1640426e27c5485e7beaf8fc1a3870a904f5
parent478913fdbdfd4a781d91c993eb86838620fe7421
power: max17042: Constify struct regmap_config

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

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max17042_battery.c