From: Himangi Saraogi Date: Wed, 13 Aug 2014 09:22:27 +0000 (+0530) Subject: Bluetooth: Remove typedefs nsh_t and dtl1_info_t X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~84^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66f4e0e43a0389a7f2814f0cc6df39019aead54f;p=pandora-kernel.git 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 Acked-by: Julia Lawall Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed