diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-08 02:10:39 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-07 16:02:58 -0700 |
commit | 250b2dd44929ec03077100b6ae2906800e4f744f (patch) | |
tree | 6422a32e519cab0f825d2756a8b9bf6e4a18ed6d /drivers/net/ethernet/8390/axnet_cs.c | |
parent | f073d52d63e01f4ac40105c63995a84930c2ee96 (diff) | |
download | linux-250b2dd44929ec03077100b6ae2906800e4f744f.tar.bz2 |
drivers/net: Remove typedefs pcnet_dev_t and hw_info_t
The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedefs for pcnet_dev_t
and hw_info_t. Also, the name of the structs is changed to drop the _t,
to make the name look less typedef-like.
The following Coccinelle semantic patch detects the cases:
@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>
Diffstat (limited to 'drivers/net/ethernet/8390/axnet_cs.c')
0 files changed, 0 insertions, 0 deletions