]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit899eb732c6fcd4f9aecf52d4960580cfa5a98714
tree4857c761b1b7ab9074b06ed58317053158879f3a
parenta336a47a68d266626a364adc6be4667d6df27895
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