OpenCloudOS-Kernel/drivers/media/platform/microchip
Laurent Pinchart e18a7e9a2d media: Use designated initializers for all subdev pad ops
Structures passed to subdev pad operations are all zero-initialized when
declaring variables. In most cases, this is done with designated
initializers to initialize some of the fields to specific values, but in
a minority of cases the structures are zero-initialized by assigning
them to '{ 0 }' or '{ }'.

Improve coding style consistency by using designated initializers where
possible, always initializing the 'which' field.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-04-12 09:46:07 +02:00
..
Kconfig media: microchip: microchip-isc: implement media controller 2022-11-25 07:47:24 +00:00
Makefile media: microchip: microchip-isc: prepare for media controller support 2022-11-25 07:46:50 +00:00
microchip-csi2dc.c media: microchip-csi2dc: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
microchip-isc-base.c media: Use designated initializers for all subdev pad ops 2023-04-12 09:46:07 +02:00
microchip-isc-clk.c
microchip-isc-regs.h
microchip-isc-scaler.c media: microchip: microchip-isc: implement media controller 2022-11-25 07:47:24 +00:00
microchip-isc.h media: microchip: microchip-isc: implement media controller 2022-11-25 07:47:24 +00:00
microchip-sama5d2-isc.c media: microchip-sama5d2-isc: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
microchip-sama7g5-isc.c media: microchip-sama7g5-isc: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00