diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-08-23 17:50:28 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-08-26 15:52:39 +0300 |
commit | 084244646217ec83970facaf7baf200c02a8183e (patch) | |
tree | 446fa132f98912e783bc530724ce9cc584d31e15 /drivers/video/fbdev/grvga.c | |
parent | 39917f08721b2f04d06407777ce7ae5913533674 (diff) | |
download | linux-084244646217ec83970facaf7baf200c02a8183e.tar.bz2 |
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>
Diffstat (limited to 'drivers/video/fbdev/grvga.c')
0 files changed, 0 insertions, 0 deletions