summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-06-17 20:15:54 +0530
committerTakashi Iwai <tiwai@suse.de>2016-06-17 16:58:45 +0200
commitd169133889090903d9feb968deb9fa01240a58f5 (patch)
treed801b6ac959c630e4108a781a1a41134677a2a51 /sound/core
parente5c53278718f7f764a9d3436dc16545cb3844049 (diff)
downloadop-kernel-dev-d169133889090903d9feb968deb9fa01240a58f5.zip
op-kernel-dev-d169133889090903d9feb968deb9fa01240a58f5.tar.gz
ALSA: ctxfi: Change structure initialisation to C99 style
For readability and to allow for structure randomisation, 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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud