ethernet: amd: Remove typedef local_info_t
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 9 Aug 2014 16:00:59 +0000 (21:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Aug 2014 19:19:53 +0000 (12:19 -0700)
commitf865346407ebb14dd5b6a759a356552856c714cf
tree604be374c14b7507c463ca06fc2cba426f51d02b
parent0d5501c1c828fb97d02af50aa9d2b1a5498b94e4
ethernet: amd: Remove typedef local_info_t

The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for local_info_t.
Also, the name of the struct is changed to drop the _t, to make the
name look less typedef-like.

The following Coccinelle semantic patch detects the case:

@tn@
identifier i;
type td;
@@

-typedef
 struct i { ... }
-td
 ;

@@
type tn.td;
identifier tn.i;
@@

-td
+ struct i

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xircom/xirc2ps_cs.c