diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-23 01:57:45 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-23 02:00:28 +0400 |
commit | 09628b2c2105722e61b8c799531304a1cd317b2e (patch) | |
tree | 241af5b77ccfe4298712b8185a10715a4c13cda6 /drivers/media/usb/dvb-usb/dtt200u-fe.c | |
parent | 1148f6fdb0136b6cf9ec5e1ff6db2dfa899b3906 (diff) | |
download | linux-09628b2c2105722e61b8c799531304a1cd317b2e.tar.xz |
[media] dib0700_devices: 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>
Not sure why, but some tables are still using the old way,
but at least several of them got fixed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb/dtt200u-fe.c')
0 files changed, 0 insertions, 0 deletions