mfd: syscon: Make syscon_regmap_config const
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 29 Jan 2016 09:30:16 +0000 (10:30 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Mar 2016 08:50:18 +0000 (08:50 +0000)
commitc131045d5b074bcb749421c4b3f11f0655bdc0b6
tree6d491cf37c414bc77415b5532e1e058491748bda
parentca668f0edfae65438c3f0a3ad5d3e59e3515915f
mfd: syscon: Make syscon_regmap_config const

syscon_regmap_config can be made const if syscon_probe() creates a local
copy on the stack, just like syscon_register() does.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/syscon.c