From: Curtis McEnroe Date: Fri, 3 Jun 2011 00:33:34 +0000 (-0400) Subject: tm6000: Cleaned up code style in tm6000-alsa.c X-Git-Tag: MMI-PSA29.97-13-9~18845^2~509 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d684aee316ecd34ec7e19c96ad1c2eed85334610;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git tm6000: Cleaned up code style in tm6000-alsa.c Fixed all errors but one (possibly a mistake by the checker) reported by the checker. Signed-off-by: Curtis McEnroe Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/tm6000/tm6000-alsa.c b/drivers/staging/tm6000/tm6000-alsa.c index 2b96047c2983..ddfd7c33361b 100644 --- a/drivers/staging/tm6000/tm6000-alsa.c +++ b/drivers/staging/tm6000/tm6000-alsa.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include #include @@ -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; @@ -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) @@ -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;