V4L/DVB: s2255drv: video_device_alloc call not checked fix
authorDean Anderson <dean@sensoray.com>
Fri, 9 Apr 2010 02:40:31 +0000 (23:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:23 +0000 (12:57 -0300)
commitc0a2ec956d6e61081b6f98b839b0e28979941687
tree1df165fa55fd8f1880c9e77ba66e2fbf625dfeb6
parentab85c6a33c7168cc42ce12ac3335c2f12d5a8d22
V4L/DVB: s2255drv: video_device_alloc call not checked fix

call to video_device_alloc was not being checked in probe function.
code simplified and uses video_device inside device structure.

Signed-off-by: Dean Anderson <dean@sensoray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s2255drv.c