diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-08-23 13:20:29 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-08-26 14:52:39 +0200 |
commit | 39917f08721b2f04d06407777ce7ae5913533674 (patch) | |
tree | 233af0a226bff63c048bb994bc6c12e64d991c3f /sound | |
parent | video: fbdev: matrox: use c99 initializers in structures (diff) | |
download | linux-39917f08721b2f04d06407777ce7ae5913533674.tar.xz linux-39917f08721b2f04d06407777ce7ae5913533674.zip |
OMAPDSS: DSI: 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 'sound')
0 files changed, 0 insertions, 0 deletions