]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/regulator/wm831x-ldo.c
regulator: wm8*: constify regulator_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 19 Dec 2015 15:31:24 +0000 (16:31 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 23 Dec 2015 00:00:00 +0000 (00:00 +0000)
commitb0d6dd3ba3c3f41bface6623a18d08439cb195bb
treee6a9d0b8c4129f4d9184d2010c13abbed3b45ff3
parent71242b49a075a580980d9b7845f2c25450018601
regulator: wm8*: constify regulator_ops structures

The regulator_ops structures are never modified, so declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/wm831x-dcdc.c
drivers/regulator/wm831x-isink.c
drivers/regulator/wm831x-ldo.c
drivers/regulator/wm8350-regulator.c
drivers/regulator/wm8400-regulator.c
drivers/regulator/wm8994-regulator.c