media: v4l2-fwnode: cleanup functions that parse endpoints
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 4 Oct 2018 21:41:16 +0000 (17:41 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 5 Oct 2018 10:49:24 +0000 (06:49 -0400)
commitc1e630559f2636607c4ef094c061c67f302c4883
tree5b60d21bbfb2ebee74500a11cc90bc218fc4f5dc
parent6087b21533fed7b8eaade86097b279591bf42638
media: v4l2-fwnode: cleanup functions that parse endpoints

There is already a typedef for the parse endpoint function.
However, instead of using it, it is redefined at the C file
(and on one of the function headers).

Replace them by the function typedef, in order to cleanup
several related coding style warnings.

Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-fwnode.c
include/media/v4l2-fwnode.h