diff options
author | sai gopal <tsg321@gmail.com> | 2010-04-28 21:17:00 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 19:58:34 +0400 |
commit | 629dcf23dffcf90f2104784d4ad9324ab3a1f2ef (patch) | |
tree | 51eae08a51a62578a2199b4a7a85cd9336514a87 | |
parent | 205161ed03b53c467dd669a340ea704ce0fb6f9e (diff) | |
download | linux-629dcf23dffcf90f2104784d4ad9324ab3a1f2ef.tar.xz |
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 <tsg321@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/staging/cx25821/cx25821-alsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/cx25821/cx25821-alsa.c b/drivers/staging/cx25821/cx25821-alsa.c index 33e559d58b1b..1798975a69bd 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__); |