From: Shuah Khan Date: Thu, 26 Feb 2015 22:33:13 +0000 (-0300) Subject: [media] media: au0828 - embed vdev and vbi_dev structs in au0828_dev X-Git-Tag: omap-for-v4.1/fixes-rc1~72^2~1^2~291 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41071bb8c78e4d0b36c51c71b6620d74cb7e2ceb;p=pandora-kernel.git [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-diff-tree failed