sound: aedsp16: Change structure initialisation to C99 style
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 15 Jun 2016 03:53:23 +0000 (09:23 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Jun 2016 05:36:06 +0000 (07:36 +0200)
commit6a99ad7e92c5656b9b734ffae57a32b738475f19
tree20068f09572611517391763a405899d351fabf3d
parent43aa56d95d2c3f141d516c78a654a33d1f287839
sound: aedsp16: 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: Takashi Iwai <tiwai@suse.de>
sound/oss/aedsp16.c