From: Hans Verkuil Date: Tue, 23 Jun 2015 09:20:23 +0000 (-0300) Subject: [media] v4l2-event: v4l2_event_queue: do nothing if vdev == NULL X-Git-Tag: omap-for-v4.3/fixes-rc1~26^2~177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8dfda980bdaf178a7addb0a4f68574e390a9d9;p=pandora-kernel.git [media] v4l2-event: v4l2_event_queue: do nothing if vdev == NULL If the vdev pointer == NULL, then just return. This makes it easier for subdev drivers to use this function without having to check if the sd->devnode pointer is NULL or not. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed