dm9000: Remove typedef board_info_t
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 7 Aug 2014 19:18:14 +0000 (00:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Aug 2014 17:38:13 +0000 (10:38 -0700)
commit2b162928afeac2448c790bdf46f9f7f88ac8f3f4
tree2f046bf7ba2476a39eb1a492348b9af0edea979f
parent945a36761fd7877660f630bbdeb4ff9ff80d1935
dm9000: Remove typedef board_info_t

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

The following Coccinelle semantic patch detects the cases:

@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/davicom/dm9000.c