OpenCloudOS-Kernel/drivers/video/fbdev/aty
Julia Lawall 0842446462 video: fbdev: aty: use c99 initializers in structures
Use c99 initializers for structures.

A simplified version of the semantic match that finds this 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>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-08-26 15:52:39 +03:00
..
Makefile
ati_ids.h
aty128fb.c video: fbdev: aty: use c99 initializers in structures 2014-08-26 15:52:39 +03:00
atyfb.h
atyfb_base.c backlight: Remove trivial get_brightness implementations 2014-06-23 13:24:22 +01:00
mach64_accel.c
mach64_ct.c
mach64_cursor.c
mach64_gx.c
radeon_accel.c
radeon_backlight.c backlight: Remove trivial get_brightness implementations 2014-06-23 13:24:22 +01:00
radeon_base.c
radeon_i2c.c
radeon_monitor.c
radeon_pm.c
radeonfb.h