aboutsummaryrefslogtreecommitdiff
path: root/drivers/pcmcia/pcmcia_resource.c
diff options
context:
space:
mode:
authorGravatar Himangi Saraogi <himangi774@gmail.com> 2014-08-06 19:35:47 +0530
committerGravatar Dominik Brodowski <linux@dominikbrodowski.net> 2015-05-30 15:54:05 +0200
commit8b0eb8377d3a2cbe242bb4d0a499d21cffe4c8b6 (patch)
tree626ddba1ef32d7d918c7a4d77a4e474383293cf3 /drivers/pcmcia/pcmcia_resource.c
parentpcmcia: Remove typedef tuple_flags (diff)
downloadlinux-8b0eb8377d3a2cbe242bb4d0a499d21cffe4c8b6.tar.gz
linux-8b0eb8377d3a2cbe242bb4d0a499d21cffe4c8b6.tar.bz2
linux-8b0eb8377d3a2cbe242bb4d0a499d21cffe4c8b6.zip
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 <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/pcmcia_resource.c')
0 files changed, 0 insertions, 0 deletions