Re: [PATCH v2 2/3] media: atomisp: delete zero-valued struct members.

2017-12-02 Thread Jeremy Sowden
On 2017-12-01, at 17:41:50 +, Alan Cox wrote: > > --- > > a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h > > +++ > > b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h > > @@ -152,14 +152,6 @@ struct ia_css_pipe_config { > > }; > > > > > Than

Re: [PATCH v2 2/3] media: atomisp: delete zero-valued struct members.

2017-12-01 Thread Alan Cox
> --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h > +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h > @@ -152,14 +152,6 @@ struct ia_css_pipe_config { > }; > Thani you that's a really good cleanup. Alan

[PATCH v2 2/3] media: atomisp: delete zero-valued struct members.

2017-12-01 Thread Jeremy Sowden
A lot of the members of the default struct values used by the CSS API were explicitly initialized to zero values. Designated initializers have allowed these members to be removed. Signed-off-by: Jeremy Sowden --- .../hive_isp_css_common/input_formatter_global.h | 17 .../pci/atomisp2/cs