media: staging: rkisp1: cap: remove field fmt_type from struct rkisp1_capture_fmt_cfg
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Mon, 6 Apr 2020 18:52:34 +0000 (20:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 11:38:03 +0000 (13:38 +0200)
commitb23096af0be45700c90f60f610c2d2ae66868f2d
tree34dab4c24d21770c98d30c7f3bbe3dc3ce7a52fd
parent2990e3dbf7ee3094a6f5138bd3d0fcaef080c056
media: staging: rkisp1: cap: remove field fmt_type from struct rkisp1_capture_fmt_cfg

The pixel encoding can be retrieved from the cap->pix.info.
Therefore the field fmt_type can be removed from the
struct rkisp1_capture_fmt_cfg.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-capture.c