diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-13 13:22:27 +0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-08-14 10:49:26 +0400 |
commit | 66f4e0e43a0389a7f2814f0cc6df39019aead54f (patch) | |
tree | d754ff9f008059766d0e5dcb92b3b606afaa1338 /drivers/hid/hid-ezkey.c | |
parent | ad709d4867985de0b239d01702f9ac6bb578099e (diff) | |
download | linux-66f4e0e43a0389a7f2814f0cc6df39019aead54f.tar.xz |
Bluetooth: Remove typedefs nsh_t and dtl1_info_t
The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedefs for nsh_t and
dtl1_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 for dtl1_info_t
and a similar patch finds the nsh_t 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>
Diffstat (limited to 'drivers/hid/hid-ezkey.c')
0 files changed, 0 insertions, 0 deletions