diff options
| author | 2016-02-21 03:12:11 +0530 | |
|---|---|---|
| committer | 2016-02-20 14:43:48 -0800 | |
| commit | 6a707a9eb9de373ba3ed2f85d44dce8bda229afc (patch) | |
| tree | 293f1013a8829e4f3a7e45baf58ccaa04204af24 /tools/perf/scripts/python/bin | |
| parent | Staging: wilc1000: Remove unused function WILC_WFI_update_stats (diff) | |
Staging: wilc1000: Remove and rename struct typedefs from .c files
Using typedef for a structure type is not suggested in Linux kernel coding
style guidelines. So remove typedefs from structures wilc_sdio_t,
wilc_spi_t and wilc_mac_cfg_t.
Also remove '_t' suffix from the struct names by hand.
The following semantic patch detects cases:
@tn1@
type td;
@@
typedef struct { ... } td;
@script:python tf@
td << tn1.td;
tdres;
@@
coccinelle.tdres = td;
@@ type tn1.td;
identifier tf.tdres;
@@
-typedef
struct
+ tdres
{ ... }
-td
;
@@ type tn1.td;
identifier tf.tdres;
@@
-td
+ struct tdres
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
