sound: oss: Remove typedefs wanc_info and wavnc_port_info
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 6 Aug 2014 12:50:01 +0000 (18:20 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Aug 2014 14:42:40 +0000 (16:42 +0200)
commit68a9edd18c62953db476142c06cb65326aeb0b31
tree4cef079d12b91458b7124c372d7db2034db763d1
parent80e7bbac48c440c32cc00870bf91ecf27a6de443
sound: oss: Remove typedefs wanc_info and wavnc_port_info

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

A simplified version of the Coccinelle semantic patch that finds the case is:

@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/waveartist.c