From: sai gopal Date: Wed, 28 Apr 2010 17:17:00 +0000 (-0300) Subject: V4L/DVB: cx25821: fix coding style issues in cx25821-alsa.c X-Git-Tag: v3.12-rc1~10285^2~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=629dcf23dffcf90f2104784d4ad9324ab3a1f2ef;p=kernel%2Fkernel-generic.git V4L/DVB: cx25821: fix coding style issues in cx25821-alsa.c This is a patch to cx25821-alsa.c file that fixes of most of the warning & errors found by checkpatch.pl tool [mchehab@redhat.com: Fix conflicts with changeset 4e0c923a0d23f86c7331b32bc2aeb280e10e029e] Signed-off-by: sai gopal Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/cx25821/cx25821-alsa.c b/drivers/staging/cx25821/cx25821-alsa.c index 33e559d..1798975 100644 --- a/drivers/staging/cx25821/cx25821-alsa.c +++ b/drivers/staging/cx25821/cx25821-alsa.c @@ -718,7 +718,8 @@ static int cx25821_audio_initdev(struct cx25821_dev *dev) goto error; } - if ((err == snd_cx25821_pcm(chip, 0, "cx25821 Digital")) < 0) { + err = snd_cx25821_pcm(chip, 0, "cx25821 Digital"); + if (err < 0) { printk(KERN_INFO "DEBUG ERROR: cannot create snd_cx25821_pcm %s\n", __func__);