diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2006-07-29 22:18:06 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-29 22:22:36 +0200 |
commit | d94fc9a08e51432d0d5fc0f74a4f705d7b49c251 (patch) | |
tree | cfef5643b6657bb775f6ab1e889e9a3d89bece28 /drivers/video/pmag-ba-fb.c | |
parent | V4L/DVB (4367): Videodev: Handle class_device related errors (diff) | |
download | linux-d94fc9a08e51432d0d5fc0f74a4f705d7b49c251.tar.xz linux-d94fc9a08e51432d0d5fc0f74a4f705d7b49c251.zip |
V4L/DVB (4368): Bttv: use class_device_create_file and handle errors
Revert bttv-driver.c from video_device_create_file() to use
class_device_create_file() again. video_device_create_file() is only
available when V4L1 is on.
Proper error checking is added for failure of class_device_create_file().
Will print error message and unroll partially created sysfs entries.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/video/pmag-ba-fb.c')
0 files changed, 0 insertions, 0 deletions