2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/staging/wilc1000
Bhumika Goyal 6a707a9eb9 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>
2016-02-20 14:43:48 -08:00
..
coreconfigurator.c staging: wilc1000: remove warnings line over 80 characters 2016-02-07 17:34:58 -08:00
coreconfigurator.h staging: wilc1000: renames u64Tsf of connect_resp_info structure 2016-02-07 17:34:58 -08:00
host_interface.c staging: wilc1000: handle_set_mac_address: use netdev_err 2016-02-19 16:55:33 -08:00
host_interface.h staging: wilc1000: host_interface: remove unused semaphores 2016-02-19 16:53:56 -08:00
Kconfig staging: wilc1000: remove wilc memory allocation config 2015-12-21 13:20:04 -08:00
linux_mon.c staging: wilc1000: remove trailing whitespace 2016-02-19 16:53:56 -08:00
linux_wlan_common.h staging: wilc1000: Remove useless macros 2016-02-14 16:31:44 -08:00
linux_wlan.c staging: wilc1000: Return correct error codes 2016-02-19 17:00:07 -08:00
Makefile staging: wilc1000: remove define TCP_ACK_FILTER 2016-02-07 17:34:58 -08:00
TODO staging: wilc1000: update TODO list 2015-06-02 13:55:40 +09:00
wilc_debugfs.c staging: wilc1000: declare 'fops' as const 2016-02-15 18:24:07 -08:00
wilc_msgqueue.c staging: wilc1000: wilc_msgqueue.c: removes debug print log 2016-02-07 17:34:58 -08:00
wilc_msgqueue.h staging: wilc1000: wilc_msgqueue: use standard struct list_head 2016-02-03 15:33:09 -08:00
wilc_sdio.c Staging: wilc1000: Remove and rename struct typedefs from .c files 2016-02-20 14:43:48 -08:00
wilc_spi.c Staging: wilc1000: Remove and rename struct typedefs from .c files 2016-02-20 14:43:48 -08:00
wilc_wfi_cfgoperations.c Staging: wilc1000: Remove unused function WILC_WFI_update_stats 2016-02-20 14:43:48 -08:00
wilc_wfi_cfgoperations.h Staging: wilc1000: Remove unused function WILC_WFI_update_stats 2016-02-20 14:43:48 -08:00
wilc_wfi_netdevice.h staging: wilc1000: remove unnecessary wilc_rx_complete function 2016-02-07 17:34:58 -08:00
wilc_wlan_cfg.c Staging: wilc1000: Remove and rename struct typedefs from .c files 2016-02-20 14:43:48 -08:00
wilc_wlan_cfg.h Staging: wilc1000: Remove and rename struct typedefs 2016-02-19 17:09:44 -08:00
wilc_wlan_if.h staging: wilc1000: Optimize code of wilc_get_chipid function 2016-02-07 17:34:58 -08:00
wilc_wlan.c staging: wilc1000: Modify tcp_process to return void rather than int 2016-02-19 16:58:06 -08:00
wilc_wlan.h staging: wilc1000: fix return type of wilc_send_config_pkt 2016-02-11 19:31:50 -08:00