]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[media] v4l: of: Correct v4l2_of_parse_endpoint() kernel-doc
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 11 Jan 2016 16:47:09 +0000 (14:47 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 12:01:22 +0000 (10:01 -0200)
commitf7842cfd3cab4566b28ede860344fcf8a7b409f6
treee8543156cc40f6c408295f57aa653970fff7d0ee
parent8aeec38f9c61b4dfdfd2a4a74d111590b4b83230
[media] v4l: of: Correct v4l2_of_parse_endpoint() kernel-doc

The v4l2_of_parse_endpoint function kernel-doc says that the return value
is always 0. But that is not true since the function can fail and a error
negative code is returned on failure. So correct the kernel-doc to match.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-of.c