Re: [PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-22 Thread Antoine Ténart
Linus, On Tue, Apr 22, 2014 at 02:48:04PM +0200, Linus Walleij wrote: > On Thu, Apr 10, 2014 at 3:07 PM, Antoine Ténart > wrote: > > > When using a group only pinctrl driver, which does not have any > > information on the pins it is useless to define a get_group_pins > > always returning an

Re: [PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:07 PM, Antoine Ténart wrote: > When using a group only pinctrl driver, which does not have any > information on the pins it is useless to define a get_group_pins > always returning an empty list of pins. > > When not using get_group_pin[1], a driver must implement it so

Re: [PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:07 PM, Antoine Ténart antoine.ten...@free-electrons.com wrote: When using a group only pinctrl driver, which does not have any information on the pins it is useless to define a get_group_pins always returning an empty list of pins. When not using get_group_pin[1], a

Re: [PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-22 Thread Antoine Ténart
Linus, On Tue, Apr 22, 2014 at 02:48:04PM +0200, Linus Walleij wrote: On Thu, Apr 10, 2014 at 3:07 PM, Antoine Ténart antoine.ten...@free-electrons.com wrote: When using a group only pinctrl driver, which does not have any information on the pins it is useless to define a get_group_pins

Re: [PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-11 Thread Sebastian Hesselbarth
On 04/10/2014 03:07 PM, Antoine Ténart wrote: When using a group only pinctrl driver, which does not have any information on the pins it is useless to define a get_group_pins always returning an empty list of pins. When not using get_group_pin[1], a driver must implement it so pins = NULL and

Re: [PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-11 Thread Sebastian Hesselbarth
On 04/10/2014 03:07 PM, Antoine Ténart wrote: When using a group only pinctrl driver, which does not have any information on the pins it is useless to define a get_group_pins always returning an empty list of pins. When not using get_group_pin[1], a driver must implement it so pins = NULL and

[PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-10 Thread Antoine Ténart
When using a group only pinctrl driver, which does not have any information on the pins it is useless to define a get_group_pins always returning an empty list of pins. When not using get_group_pin[1], a driver must implement it so pins = NULL and num_pins = 0. This patch makes it the default

[PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-10 Thread Antoine Ténart
When using a group only pinctrl driver, which does not have any information on the pins it is useless to define a get_group_pins always returning an empty list of pins. When not using get_group_pin[1], a driver must implement it so pins = NULL and num_pins = 0. This patch makes it the default