linux/drivers/gpu/drm/sti
Julia Lawall d456ea2edc drm: use c99 initializers in structures
Use c99 initializers for structures.

Drop 0 initializers in drivers/gpu/drm/sti/sti_vtac.c.  A 0x0 initializer
is left in vtac_mode_aux in drivers/gpu/drm/sti/sti_vtac.c to highlight the
relation to vtac_mode_main.

A simplified version of the semantic match that finds the first problem is
as follows: (http://coccinelle.lip6.fr/)

// <smpl>
@decl@
identifier i1,fld;
type T;
field list[n] fs;
@@

struct i1 {
 fs
 T fld;
 ...};

@bad@
identifier decl.i1,i2;
expression e;
initializer list[decl.n] is;
@@

struct i1 i2 = { is,
+ .fld = e
- e
 ,...};
// </smpl>

v2: Drop 0 initializers and add trailing commas at the suggestions of Josh
Triplett.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-09-12 16:49:34 +02:00
..
Kconfig drm: sti: Add DRM driver itself 2014-07-31 09:39:11 +02:00
Makefile drm: sti: Add DRM driver itself 2014-07-31 09:39:11 +02:00
NOTES
sti_compositor.c drm/sti: fix warning in build. 2014-08-05 09:41:42 +10:00
sti_compositor.h drm: sti: add Compositor 2014-07-30 19:28:27 +02:00
sti_drm_crtc.c drm/sti: fix warning in build. 2014-08-05 09:41:42 +10:00
sti_drm_crtc.h drm: sti: Add DRM driver itself 2014-07-31 09:39:11 +02:00
sti_drm_drv.c drm: sti: Add DRM driver itself 2014-07-31 09:39:11 +02:00
sti_drm_drv.h drm: sti: Add DRM driver itself 2014-07-31 09:39:11 +02:00
sti_drm_plane.c drm: sti: Add DRM driver itself 2014-07-31 09:39:11 +02:00
sti_drm_plane.h drm: sti: Add DRM driver itself 2014-07-31 09:39:11 +02:00
sti_gdp.c drm: sti: add Compositor 2014-07-30 19:28:27 +02:00
sti_gdp.h drm: sti: add GDP layer 2014-07-30 19:26:47 +02:00
sti_hda.c drm: sti: add HDA driver 2014-07-30 19:25:30 +02:00
sti_hdmi_tx3g0c55phy.c drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi_tx3g0c55phy.h drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi_tx3g4c28phy.c drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi_tx3g4c28phy.h drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi.c drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi.h drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_layer.c drm: sti: add Compositor 2014-07-30 19:28:27 +02:00
sti_layer.h drm: sti: add GDP layer 2014-07-30 19:26:47 +02:00
sti_mixer.c drm: sti: add Compositor 2014-07-30 19:28:27 +02:00
sti_mixer.h drm: sti: add Mixer 2014-07-30 19:26:59 +02:00
sti_tvout.c drm: sti: add TVOut driver 2014-07-30 19:26:17 +02:00
sti_vid.c drm: sti: add VID layer 2014-07-30 19:26:51 +02:00
sti_vid.h drm: sti: add VID layer 2014-07-30 19:26:51 +02:00
sti_vtac.c drm: use c99 initializers in structures 2014-09-12 16:49:34 +02:00
sti_vtg.c
sti_vtg.h