[media] cx231xx: Simplify interface checking logic at probe
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 30 Jan 2011 01:10:56 +0000 (22:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:59 +0000 (20:31 -0300)
commit8bb84227d1ba41d6c1ec9350a4424ece5fe00e33
treefd48ac9b2cd6fb974f1b9a66ec4ba01c9c362cec
parentb8bc77db1e23c6e141734511db873902c66bec8c
[media] cx231xx: Simplify interface checking logic at probe

Just a cleanup patch. Removes one indent level by moving
the return -ENODEV to happen before the device register
logic, if the interface is not the audio/video (int 1).

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-cards.c