Re: [PATCH v3 2/6] i2c: core: Allow override timing properties with 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 20, 2020 at 05:44:54PM +0100, Wolfram Sang wrote:
> On Fri, Mar 20, 2020 at 06:23:26PM +0200, Andy Shevchenko wrote:
> > On Fri, Mar 20, 2020 at 03:43:57PM +0100, Wolfram Sang wrote:
> > > 
> > > > +	struct i2c_timings i2c_t = {0};
> > > 
> > > Simply '... = { }'?
> > 
> > I prefer C standard over GCC extension.
> 
> Okay. I don't care too much. But '{ 0 }' then, with kernel style spacing?

Works for me!

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux