[PATCH] uml: audio driver formatting
Whitespace and style fixes. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b612e475e7
commit
d471c0fca7
1 changed files with 73 additions and 87 deletions
|
@ -202,7 +202,6 @@ static int hostaudio_open(struct inode *inode, struct file *file)
|
||||||
kfree(state);
|
kfree(state);
|
||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
state->fd = ret;
|
state->fd = ret;
|
||||||
file->private_data = state;
|
file->private_data = state;
|
||||||
return(0);
|
return(0);
|
||||||
|
@ -215,7 +214,6 @@ static int hostaudio_release(struct inode *inode, struct file *file)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printk("hostaudio: release called\n");
|
printk("hostaudio: release called\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
os_close_file(state->fd);
|
os_close_file(state->fd);
|
||||||
kfree(state);
|
kfree(state);
|
||||||
|
|
||||||
|
@ -279,7 +277,6 @@ static int hostmixer_release(struct inode *inode, struct file *file)
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* kernel module operations */
|
/* kernel module operations */
|
||||||
|
|
||||||
static const struct file_operations hostaudio_fops = {
|
static const struct file_operations hostaudio_fops = {
|
||||||
|
@ -341,14 +338,3 @@ static void __exit hostaudio_cleanup_module (void)
|
||||||
|
|
||||||
module_init(hostaudio_init_module);
|
module_init(hostaudio_init_module);
|
||||||
module_exit(hostaudio_cleanup_module);
|
module_exit(hostaudio_cleanup_module);
|
||||||
|
|
||||||
/*
|
|
||||||
* Overrides for Emacs so that we follow Linus's tabbing style.
|
|
||||||
* Emacs will notice this stuff at the end of the file and automatically
|
|
||||||
* adjust the settings for this buffer only. This must remain at the end
|
|
||||||
* of the file.
|
|
||||||
* ---------------------------------------------------------------------------
|
|
||||||
* Local variables:
|
|
||||||
* c-file-style: "linux"
|
|
||||||
* End:
|
|
||||||
*/
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue