sound: oss: uart401: Remove typedef uart401_devc
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 6 Aug 2014 12:47:25 +0000 (18:17 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Aug 2014 14:42:29 +0000 (16:42 +0200)
commit80e7bbac48c440c32cc00870bf91ecf27a6de443
treeab50bcbc61dd7482715fbc464ea365d1119f2f47
parenta509574e5ea7b617268943526773ebf7e2d20a9b
sound: oss: uart401: Remove typedef uart401_devc

The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for uart401_devc.

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: Takashi Iwai <tiwai@suse.de>
sound/oss/uart401.c