diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2022-09-07 12:00:38 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 11:21:45 +0200 |
commit | 0b11253f36e8d6697e3eea81a9a87a704edfcf65 (patch) | |
tree | 4937e803707399e370219fa70b9840a49133d56c /drivers/idle/intel_idle.c | |
parent | 6f4d0849be9beefc457a8ec95818ff36309d273a (diff) | |
download | linux-stable-0b11253f36e8d6697e3eea81a9a87a704edfcf65.tar.gz linux-stable-0b11253f36e8d6697e3eea81a9a87a704edfcf65.tar.bz2 linux-stable-0b11253f36e8d6697e3eea81a9a87a704edfcf65.zip |
media: sun6i-csi: Refactor main driver data structures
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.
Also solve some kerneldoc warnings by describing return codes while
at it.
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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/idle/intel_idle.c')
0 files changed, 0 insertions, 0 deletions