Files
linux-legacy/drivers
Trent Piepho 53dd8def52 V4L/DVB (4367): Videodev: Handle class_device related errors
Add proper error checking and roll-back for failure of
class_device_create_file() in videodev.c.  Print error messages and
unroll partially created sysfs entries.
Also, failure of class_device_register() in video_register_device() is
handled correctly.  It was failing to de-allocate the minor number.  This
must be done in video_register_device(), since the caller has no way of
knowing if failure occurred before or after the class device was
registered.
Also added an error message if video_register_device() is called with
an unknown type, which should never happen.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29 17:22:34 -03:00
..
2006-07-08 13:30:09 -07:00
2006-07-12 16:09:08 -07:00
2006-06-23 07:43:06 -07:00
…
2006-07-28 09:02:17 +02:00
2006-07-03 15:27:07 -07:00
2006-07-10 13:24:27 -07:00
2006-07-14 21:53:54 -07:00
…
2006-07-10 13:24:17 -07:00
2006-07-03 21:29:08 -07:00
…
2006-07-12 15:38:28 -07:00
2006-06-17 21:18:43 -07:00