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

Maxime Ripard
2022-02-07T09:12:14Z

[-- Attachment #1.1: Type: text/plain, Size: 720 bytes --]

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@bootlin.com>

Reviewed-by: Maxime Ripard <maxime@cerno.tech>

Maxime

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 112 bytes --]