aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cistpl.c
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-08-06 22:06:25 +0530
committerDominik Brodowski <linux@dominikbrodowski.net>2015-05-30 15:55:36 +0200
commit3ce3c1c4fefa48f429a4379f729e44a9e6ba657a (patch)
treeb50d422e76fa0e6f51a01bc580a902505b7a27ff /drivers/pcmcia/cistpl.c
parentpcmcia: Remove typedef in structs and emum (diff)
downloadlinux-dev-3ce3c1c4fefa48f429a4379f729e44a9e6ba657a.tar.xz
linux-dev-3ce3c1c4fefa48f429a4379f729e44a9e6ba657a.zip
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 <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cistpl.c')
0 files changed, 0 insertions, 0 deletions