mfd: mc13xxx: i2c/spi: Constify struct regmap_config
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 09:01:26 +0000 (10:01 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 22 Jan 2015 16:03:44 +0000 (16:03 +0000)
commit18dd21ab107325a260836be824f7bb58b3e0ff7c
treec01a5bfd2692c1a09940521f919425067f03c14a
parent18bb399f6de0314aede17fc05fbb42c9b1c1b12d
mfd: mc13xxx: i2c/spi: 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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mc13xxx-i2c.c
drivers/mfd/mc13xxx-spi.c