drivers/net: Remove typedef axnet_dev_t
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 7 Aug 2014 20:41:33 +0000 (02:11 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Aug 2014 23:02:58 +0000 (16:02 -0700)
commitabac0d3f80ec8cbec5589bb2cebec188bf5f03e0
tree9f5d141df8dc6303462f75cb5dcaf8fb04da8fb5
parent250b2dd44929ec03077100b6ae2906800e4f744f
drivers/net: Remove typedef axnet_dev_t

The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for axnet_dev_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/8390/axnet_cs.c