Re: [PATCH v4 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree

2020-09-08 Thread Heinrich Schuchardt
Am 8. September 2020 17:15:25 MESZ schrieb Pratyush Yadav : >On 08/09/20 04:12PM, Heinrich Schuchardt wrote: >> On 08.09.20 07:40, Pratyush Yadav wrote: >> > From: Jean-Jacques Hiblot >> > >> > Add managed functions to get a gpio from the devce-tree, based on a >> > property name (minus the

Re: [PATCH v4 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree

2020-09-08 Thread Pratyush Yadav
On 08/09/20 04:12PM, Heinrich Schuchardt wrote: > On 08.09.20 07:40, Pratyush Yadav wrote: > > From: Jean-Jacques Hiblot > > > > Add managed functions to get a gpio from the devce-tree, based on a > > property name (minus the '-gpios' suffix) and optionally an index. > > > > When the device is

Re: [PATCH v4 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree

2020-09-08 Thread Heinrich Schuchardt
On 08.09.20 07:40, Pratyush Yadav wrote: > From: Jean-Jacques Hiblot > > Add managed functions to get a gpio from the devce-tree, based on a > property name (minus the '-gpios' suffix) and optionally an index. > > When the device is unbound, the GPIO is automatically released and the > data

[PATCH v4 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree

2020-09-07 Thread Pratyush Yadav
From: Jean-Jacques Hiblot Add managed functions to get a gpio from the devce-tree, based on a property name (minus the '-gpios' suffix) and optionally an index. When the device is unbound, the GPIO is automatically released and the data structure is freed. Signed-off-by: Jean-Jacques Hiblot