Re: [PATCH v2 18/66] media: sun6i-csi: Refactor main driver data structures

From: Maxime Ripard
Date: Mon Feb 07 2022 - 04:15:25 EST


On Sat, Feb 05, 2022 at 07:53:41PM +0100, Paul Kocialkowski wrote:
> Merge contents of structs sun6i_csi and sun6i_csi_dev into a main
> sun6i_csi_device structure holding a sun6i_csi_v4l2 struct for things
> related to v4l2, as well as the already-existing sun6i_csi_video and
> sun6i_csi_config which are left unchanged.
>
> This mostly simplifies accessing stuff by having a single main
> structure accessible to every part of the code instead of a private
> definition.
>
> No functional change is intended in this commit, variables are just
> moved around (cosmetics).
>
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxx>

Reviewed-by: Maxime Ripard <maxime@xxxxxxxxxx>

Maxime

Attachment: signature.asc
Description: PGP signature