From: Himangi Saraogi Date: Wed, 6 Aug 2014 16:36:25 +0000 (+0530) Subject: pcmcia/vrc4171: Remove typedefs for enums and struct X-Git-Tag: omap-for-v4.2/fixes-rc1^2~158^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce3c1c4fefa48f429a4379f729e44a9e6ba657a;p=pandora-kernel.git pcmcia/vrc4171: Remove typedefs for enums and struct The Linux kernel coding style guidelines suggest not using typedefs for structure and enum types. This patch gets rid of the typedefs for vrc4171_slot_t, vrc4171_slotb_t and vrc4171_socket_t. Also, the names of the enums and the struct are changed to drop the _t, to make the name look less typedef-like. The following Coccinelle semantic patch detects the cases 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: Dominik Brodowski --- Reading git-diff-tree failed