From: Himangi Saraogi Date: Thu, 7 Aug 2014 20:39:16 +0000 (+0530) Subject: drivers/net: ethernet: Remove typedef for struct and enum X-Git-Tag: omap-for-v3.17/fixes-against-rc2~76^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f073d52d63e01f4ac40105c63995a84930c2ee96;p=pandora-kernel.git drivers/net: ethernet: Remove typedef for struct and enum The Linux kernel coding style guidelines suggest not using typedefs for structure and enum types. This patch gets rid of the typedef for cardtype_t and local_info_t. Also, the names of the struct and enum are changed to drop the _t, to make the name look less typedef-like. The following Coccinelle semantic patch detects the case for struct type: @tn@ identifier i; type td; @@ -typedef struct i { ... } -td ; @@ type tn.td; identifier tn.i; @@ -td + struct i Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed