Bluetooth: Remove typedef btuart_info_t
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 13 Aug 2014 09:21:39 +0000 (14:51 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:25 +0000 (08:49 +0200)
commitad709d4867985de0b239d01702f9ac6bb578099e
treec09666fdab4c8ae6d3b95275271b1580d644e1bc
parentd664cd9895b498da4fea3b43c72b4aacfc4126a2
Bluetooth: Remove typedef btuart_info_t

The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for
btuart_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/btuart_cs.c
This page took 0.027034 seconds and 5 git commands to generate.