mfd: twl-core: Constify struct regmap_config and reg_default array
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 09:01:32 +0000 (10:01 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 22 Jan 2015 16:03:48 +0000 (16:03 +0000)
commitd842b61ba9e63b77830f24f1bfdcc102f5628167
treee17c0b5eb9eaaf9c4c5b5fc02f390346239a1aa8
parentaf0a837de60c548032f9b364d75fadf56e3a1b09
mfd: twl-core: 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/twl-core.c