Searched hist:e18a7e9a2d34a32482e4069fcedf30a7bc9e9ef5 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-base.c | diff e18a7e9a2d34a32482e4069fcedf30a7bc9e9ef5 Wed Feb 15 09:18:39 CST 2023 Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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>
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drm.c | diff e18a7e9a2d34a32482e4069fcedf30a7bc9e9ef5 Wed Feb 15 09:18:39 CST 2023 Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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>
|
/openbmc/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc-base.c | diff e18a7e9a2d34a32482e4069fcedf30a7bc9e9ef5 Wed Feb 15 09:18:39 CST 2023 Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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>
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | diff e18a7e9a2d34a32482e4069fcedf30a7bc9e9ef5 Wed Feb 15 09:18:39 CST 2023 Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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>
|