Bluetooth: Remove typedef bt3c_info_t
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 13 Aug 2014 09:19:56 +0000 (14:49 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:26 +0000 (08:49 +0200)
commit3bbaf812065e8b0feca02b6c7e5117b731709008
tree457cd22d6ec52ed5ee309c40b77787618f779e61
parent66f4e0e43a0389a7f2814f0cc6df39019aead54f
Bluetooth: Remove typedef bt3c_info_t

The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for
bt3c_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/bt3c_cs.c