mfd: twl6040: Constify struct regmap_config and reg_default array
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 09:01:33 +0000 (10:01 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 22 Jan 2015 16:03:50 +0000 (16:03 +0000)
commitde1e23f83441d1f44f12e56b1e972b728a821f32
tree94a92b4ebeb4d3375f6a78bf54bfb5dd6317c583
parentd842b61ba9e63b77830f24f1bfdcc102f5628167
mfd: twl6040: Constify struct regmap_config and reg_default array

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

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl6040.c