com20020_cs: Remove typedef com20020_dev_t
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 9 Aug 2014 16:07:18 +0000 (21:37 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Aug 2014 19:19:53 +0000 (12:19 -0700)
commit2dfd2533e9e700661e5c9e87831fb1c4d8340176
treef911ec78d8a1006ed29909f3c69b56c1fcfb30b8
parentf865346407ebb14dd5b6a759a356552856c714cf
com20020_cs: Remove typedef com20020_dev_t

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