]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 12 Feb 2016 09:20:12 +0000 (09:20 +0000)
commitba344d4a550a4de0478eedf117223b4bc6b1605c
tree1ee4e55db1692137004b30a61a22472a2ce33ef4
parentc89c0114955a6e89111f50f60c058678fb9fae5f
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