From: Trent Piepho Date: Sat, 29 Jul 2006 20:18:06 +0000 (-0300) Subject: V4L/DVB (4368): Bttv: use class_device_create_file and handle errors X-Git-Tag: v2.6.18-rc4~72^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d94fc9a08e51432d0d5fc0f74a4f705d7b49c251;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed