Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information