Bluetooth: Remove typedef bluecard_info_t
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 13 Aug 2014 09:23:31 +0000 (14:53 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:25 +0000 (08:49 +0200)
commitd664cd9895b498da4fea3b43c72b4aacfc4126a2
tree77d7d8c0950102a0f964be4b7fed6a7b25242409
parentf55889128a776b51581394b20abd0b470304cf95
Bluetooth: Remove typedef bluecard_info_t

The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for
bluecard_info_t. Also, the name of the struct is changed to drop the _t,
to make the name look less typedef-like.

The following Coccinelle semantic patch detects the case:

@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: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/bluecard_cs.c
This page took 0.026982 seconds and 5 git commands to generate.