From: Himangi Saraogi Date: Wed, 6 Aug 2014 14:05:47 +0000 (+0530) Subject: pcmcia: Remove typedef in structs and emum X-Git-Tag: omap-for-v4.2/fixes-rc1^2~158^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b0eb8377d3a2cbe242bb4d0a499d21cffe4c8b6;p=pandora-kernel.git pcmcia: Remove typedef in structs and emum The Linux kernel coding style guidelines suggest not using typedefs for structure and enum types. This patch gets rid of the typedefs for cirrus_state_t, vg46x_state_t and pcic_id. Also, the names of the structs 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 [linux@dominikbrodowski.net: fix patch to apply cleanly after e632cd94723e was applied first] Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed