diff options
| author | Trent Piepho <xyzzy@speakeasy.org> | 2006-07-25 09:32:31 -0300 |
|---|---|---|
| committer | Trent Piepho <xyzzy@speakeasy.org> | 2006-07-25 09:32:31 -0300 |
| commit | 6a08e4d1f06580b112a2e493d69cbd65be8f50b3 (patch) | |
| tree | 16d6f8d3bf6b55b7dd86f9a814001a248103afda /v4l/scripts/bttv.pl | |
| parent | eae539a732ce1383b14bea7a37e7204cba2805fc (diff) | |
| download | mediapointer-dvb-s2-6a08e4d1f06580b112a2e493d69cbd65be8f50b3.tar.gz mediapointer-dvb-s2-6a08e4d1f06580b112a2e493d69cbd65be8f50b3.tar.bz2 | |
bttv: use class_device_create_file and handle errors
From: Trent Piepho <xyzzy@speakeasy.org>
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>
Diffstat (limited to 'v4l/scripts/bttv.pl')
0 files changed, 0 insertions, 0 deletions
