mirror of https://gitee.com/openkylin/linux.git
abac0d3f80
The Linux kernel coding style guidelines suggest not using typedefs for structure types. This patch gets rid of the typedef for axnet_dev_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: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
8390.c | ||
8390.h | ||
8390p.c | ||
Kconfig | ||
Makefile | ||
apne.c | ||
ax88796.c | ||
axnet_cs.c | ||
etherh.c | ||
hydra.c | ||
lib8390.c | ||
mac8390.c | ||
mcf8390.c | ||
ne.c | ||
ne2k-pci.c | ||
pcnet_cs.c | ||
smc-ultra.c | ||
stnic.c | ||
wd.c | ||
zorro8390.c |