diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-06-11 06:02:52 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-13 14:03:18 +0200 |
commit | 6b4316aecec07db6ac27820720cc2f2d18ea52e9 (patch) | |
tree | a2b097e0c4afb185c307cdc7b09ed6db0474a24e /drivers/pinctrl/pinctrl-tz1090.c | |
parent | pinctrl: Reflow/wrap paragraph describing GPIO interaction (diff) | |
download | linux-6b4316aecec07db6ac27820720cc2f2d18ea52e9.tar.xz linux-6b4316aecec07db6ac27820720cc2f2d18ea52e9.zip |
pinctrl: xway: Change structure initialisation to c99 style
Replace the in order struct initialisation style with explicit field
style.
The Coccinelle semantic patch used to make this change is as follows:
@decl@
identifier i1,fld;
type T;
field list[n] fs;
@@
struct i1 {
fs
T fld;
...};
@@
identifier decl.i1,i2,decl.fld;
expression e;
position bad.p, bad.fix;
@@
struct i1 i2@p = { ...,
+ .fld = e
- e@fix
,...};
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-tz1090.c')
0 files changed, 0 insertions, 0 deletions