Staging: wilc1000: Remove typedefs for struct
authorShraddha Barke <shraddha.6596@gmail.com>
Tue, 4 Aug 2015 19:59:22 +0000 (01:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 19:14:48 +0000 (12:14 -0700)
commiteeb1c0629539b1393d0b5ffea9cc2d71e6e933bf
treeabcdd148d6819a1357afcf7c77081fbe86b82859
parent2cb1df7ebd8b8807a204ffb0692751b15d4cb1bf
Staging: wilc1000: Remove typedefs for struct

The Linux kernel coding style guidelines suggest not using typedefs for
structure and enum types. This patch gets rid of the typedefs for
Ack_session_info_t.

The following Coccinelle semantic patch detects the cases for struct type:

@tn@
identifier i;
type td;
@@

-typedef
 struct i { ... }
-td
 ;

@@
type tn.td;
identifier tn.i;
@@

-td
+ struct i

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c