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 <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
himangi774 authored and tiwai 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.