media: v4l: vsp1: Share the CLU, LIF and LUT set_fmt pad operation code
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 27 Nov 2017 19:59:45 +0000 (14:59 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 17 May 2018 10:22:08 +0000 (06:22 -0400)
commitb4ccae1025f3c7dac3c35019369627622ec01e94
treed6d76c9ad851164920d15e3f98016f8b16da795f
parent1c4b5f49191aa66ceb04c25d177240c42fa07025
media: v4l: vsp1: Share the CLU, LIF and LUT set_fmt pad operation code

The implementation of the set_fmt pad operation is identical in the
three modules. Move it to a generic helper function.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vsp1/vsp1_clu.c
drivers/media/platform/vsp1/vsp1_entity.c
drivers/media/platform/vsp1/vsp1_entity.h
drivers/media/platform/vsp1/vsp1_lif.c
drivers/media/platform/vsp1/vsp1_lut.c