Skip to content

Commit

Permalink
tm6000: Cleaned up code style in tm6000-alsa.c
Browse files Browse the repository at this point in the history
Fixed all errors but one (possibly a mistake by the checker) reported by
the checker.

Signed-off-by: Curtis McEnroe <programble@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Curtis McEnroe authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 41eb8d6 commit d684aee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/tm6000/tm6000-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/vmalloc.h>

#include <asm/delay.h>
#include <linux/delay.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
Expand Down Expand Up @@ -255,7 +255,7 @@ static int tm6000_fillbuf(struct tm6000_core *core, char *buf, int size)
length * stride);

#ifndef NO_PCM_LOCK
snd_pcm_stream_lock(substream);
snd_pcm_stream_lock(substream);
#endif

chip->buf_pos += length;
Expand All @@ -269,7 +269,7 @@ static int tm6000_fillbuf(struct tm6000_core *core, char *buf, int size)
}

#ifndef NO_PCM_LOCK
snd_pcm_stream_unlock(substream);
snd_pcm_stream_unlock(substream);
#endif

if (period_elapsed)
Expand Down Expand Up @@ -461,7 +461,7 @@ int tm6000_audio_init(struct tm6000_core *dev)
if (rc < 0)
goto error_chip;

dprintk(1,"Registered audio driver for %s\n", card->longname);
dprintk(1, "Registered audio driver for %s\n", card->longname);

return 0;

Expand Down

0 comments on commit d684aee

Please sign in to comment.