Skip to content

Commit

Permalink
sound: oss: Remove typedefs wanc_info and wavnc_port_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Himangi Saraogi authored and Takashi Iwai committed Aug 6, 2014
1 parent 80e7bba commit 68a9edd
Showing 1 changed file with 89 additions and 68 deletions.
Loading

0 comments on commit 68a9edd

Please sign in to comment.