From 8b0eb8377d3a2cbe242bb4d0a499d21cffe4c8b6 Mon Sep 17 00:00:00 2001 From: Himangi Saraogi Date: Wed, 6 Aug 2014 19:35:47 +0530 Subject: [PATCH] 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-format-patch failed