kernel-ark/sound/pci/ctxfi
Amitoj Kaur Chawla d169133889 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>
2016-06-17 16:58:45 +02:00
..
ct20k1reg.h
ct20k2reg.h
ctamixer.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctamixer.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctatc.c ALSA: ctxfi: Kill the rest snd_print*() 2014-10-28 17:40:42 +01:00
ctatc.h ALSA: ctxfi: changed void * to struct hw * 2014-09-30 10:34:29 +02:00
ctdaio.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctdaio.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cthardware.c
cthardware.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
cthw20k1.c ALSA: remove deprecated use of pci api 2015-04-16 12:19:52 +02:00
cthw20k1.h
cthw20k2.c ALSA: ctxfi: Change structure initialisation to C99 style 2016-06-17 16:58:45 +02:00
cthw20k2.h
ctimap.c
ctimap.h
ctmixer.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctmixer.h
ctpcm.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctpcm.h
ctresource.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctresource.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cttimer.c ALSA: constify ct_timer_ops structures 2016-04-09 10:58:04 +02:00
cttimer.h
ctvmem.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctvmem.h
Makefile
xfi.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00