Re: [PATCH v4 07/14] regulator: max77802: zero-initialize regulator match table

2014-11-03 Thread Mark Brown
On Mon, Nov 03, 2014 at 03:40:42PM +0100, Javier Martinez Canillas wrote: > The struct of_regulator_match is declared as a non-static local variable > so the structure members are not auto-initialized. Applied, thanks. signature.asc Description: Digital signature

[PATCH v4 07/14] regulator: max77802: zero-initialize regulator match table

2014-11-03 Thread Javier Martinez Canillas
The struct of_regulator_match is declared as a non-static local variable so the structure members are not auto-initialized. Initialize the struct at declaration time to avoid the structure members values to be indeterminate and have sane defaults instead. Signed-off-by: Javier Martinez Canillas