diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2015-06-23 12:20:23 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-17 15:15:27 +0300 |
commit | fb8dfda980bdaf178a7addb0a4f68574e390a9d9 (patch) | |
tree | f12908cce162366be501e77f88a639325f0eda99 /drivers/media/i2c | |
parent | 675a9a9fda4e9b8634e7e93668f4a8c1311c0db4 (diff) | |
download | linux-fb8dfda980bdaf178a7addb0a4f68574e390a9d9.tar.xz |
[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 <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions