diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2015-02-26 23:33:13 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 15:19:52 +0100 |
commit | 41071bb8c78e4d0b36c51c71b6620d74cb7e2ceb (patch) | |
tree | 3846c4fc407ef67b9607f4111db3d8feb3a4b20c /drivers/media/usb/pvrusb2 | |
parent | [media] media: au0828: drop vbi_buffer_filled() and re-use buffer_filled() (diff) | |
download | linux-41071bb8c78e4d0b36c51c71b6620d74cb7e2ceb.tar.xz linux-41071bb8c78e4d0b36c51c71b6620d74cb7e2ceb.zip |
[media] media: au0828 - embed vdev and vbi_dev structs in au0828_dev
Embed video_device structs vdev and vbi_dev in au0828_dev.
With this change, dynamic allocation and error path logic
in au0828_analog_register() is removed as it doesn't need
to allocate and handle allocation errors. Unregister path
doesn't need to free the now static video_device structures,
hence, changed video_device.release in au0828_video_template
to point to video_device_release_empty.
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/pvrusb2')
0 files changed, 0 insertions, 0 deletions