atmel_cs: Remove typedef local_info_t
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 13 Aug 2014 17:10:24 +0000 (22:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Aug 2014 20:17:41 +0000 (16:17 -0400)
commitb9395df96ac41cdfcc929f1515828709b2f64b2f
tree4857c761b1b7ab9074b06ed58317053158879f3a
parenta796dac9a6bedff6db99f57828c85c97071d3d1e
atmel_cs: 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: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/atmel_cs.c