From 41071bb8c78e4d0b36c51c71b6620d74cb7e2ceb Mon Sep 17 00:00:00 2001 From: Shuah Khan Date: Thu, 26 Feb 2015 19:33:13 -0300 Subject: [PATCH] [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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed