V4L/DVB: s2255drv: return if vdev not found
authorDan Carpenter <error27@gmail.com>
Wed, 5 May 2010 06:01:30 +0000 (03:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:14 +0000 (12:59 -0300)
commitaab9796f5580a988c46c130a727cdc398a05317b
treedc03abc84addf0ba87bb1da79ac4842ea4c9cefc
parentb9245d80c375b93db79475ca231276e1fa5a7649
V4L/DVB: s2255drv: return if vdev not found

The original code didn't handle the case where vdev was not found so I
added a check for that.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: linux-dev@sensoray.com
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s2255drv.c