Re: [PATCH v2 07/14] gpio: add gpio descriptor initialization helper

2019-12-29 Thread Simon Glass
On Tue, 26 Nov 2019 at 01:49, Patrick Delaunay wrote: > > Add a helper function gpio_desc_init() to initialize the gpio descriptor; > with this function the flags will be always set to 0. > > It wasn't the case before this patch in dm_gpio_lookup_name. > > Signed-off-by: Patrick Delaunay > --- >

[U-Boot] [PATCH v2 07/14] gpio: add gpio descriptor initialization helper

2019-11-26 Thread Patrick Delaunay
Add a helper function gpio_desc_init() to initialize the gpio descriptor; with this function the flags will be always set to 0. It wasn't the case before this patch in dm_gpio_lookup_name. Signed-off-by: Patrick Delaunay --- Changes in v2: - add gpio descriptor initialization helper