summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8994-core.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2018-06-13 06:48:09 +0200
committerLee Jones <lee.jones@linaro.org>2018-07-27 08:13:24 +0100
commitbf1cafa18be3b73ad30a3bbf2c3dae5ef333189a (patch)
tree629304e63d98e9f81295a89675d373ead535a2c7 /drivers/mfd/wm8994-core.c
parente5ff19cf75f33a4654fc54631577146a1162d527 (diff)
downloadtalos-obmc-linux-bf1cafa18be3b73ad30a3bbf2c3dae5ef333189a.tar.gz
talos-obmc-linux-bf1cafa18be3b73ad30a3bbf2c3dae5ef333189a.zip
mfd: kempld-core: Constify variables that point to const structure
Add const to the declaration of various local variables of type kempld_platform_data for which the referenced value is always only dereferenced or passed to a const parameter, to record the fact that kempld_platform_data_generic is declared as const. The semantic match that finds this issue is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier i,j; @@ const struct i j = { ... }; @ok@ identifier r.i; position p; @@ const struct i@p * @@ identifier r.i; position p != ok.p; @@ * struct i@p * // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/wm8994-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud