diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-08-23 13:20:24 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-08-26 14:52:38 +0200 |
commit | 1287c5bf214b906d64a71c481545010dbe1b5b66 (patch) | |
tree | 76a581691779ce48d75b7e51dbe9cc3506b2acfa /MAINTAINERS | |
parent | video: of: display_timing: delete unneeded test before of_node_put (diff) | |
download | linux-1287c5bf214b906d64a71c481545010dbe1b5b66.tar.xz linux-1287c5bf214b906d64a71c481545010dbe1b5b66.zip |
video: fbdev: matrox: 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>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions