Re: [PATCH v2] power: poweroff: gpio: convert to use descriptors

2014-07-16 Thread Sebastian Reichel
Hi, On Mon, Jul 07, 2014 at 12:34:32PM +0200, Linus Walleij wrote: > This switches the GPIO poweroff driver to use GPIO descriptors > rather than numeral GPIOs. We get rid of the specific inversion > handling as GPIO descriptors know if they are active low or > high and can assert the line

Re: [PATCH v2] power: poweroff: gpio: convert to use descriptors

2014-07-16 Thread Sebastian Reichel
Hi, On Mon, Jul 07, 2014 at 12:34:32PM +0200, Linus Walleij wrote: This switches the GPIO poweroff driver to use GPIO descriptors rather than numeral GPIOs. We get rid of the specific inversion handling as GPIO descriptors know if they are active low or high and can assert the line properly,

Re: [PATCH v2] power: poweroff: gpio: convert to use descriptors

2014-07-07 Thread Alexandre Courbot
On 07/07/2014 07:34 PM, Linus Walleij wrote: This switches the GPIO poweroff driver to use GPIO descriptors rather than numeral GPIOs. We get rid of the specific inversion handling as GPIO descriptors know if they are active low or high and can assert the line properly, so we do not need to

[PATCH v2] power: poweroff: gpio: convert to use descriptors

2014-07-07 Thread Linus Walleij
This switches the GPIO poweroff driver to use GPIO descriptors rather than numeral GPIOs. We get rid of the specific inversion handling as GPIO descriptors know if they are active low or high and can assert the line properly, so we do not need to check the flag OF_GPIO_ACTIVE_LOW returned from the

[PATCH v2] power: poweroff: gpio: convert to use descriptors

2014-07-07 Thread Linus Walleij
This switches the GPIO poweroff driver to use GPIO descriptors rather than numeral GPIOs. We get rid of the specific inversion handling as GPIO descriptors know if they are active low or high and can assert the line properly, so we do not need to check the flag OF_GPIO_ACTIVE_LOW returned from the

Re: [PATCH v2] power: poweroff: gpio: convert to use descriptors

2014-07-07 Thread Alexandre Courbot
On 07/07/2014 07:34 PM, Linus Walleij wrote: This switches the GPIO poweroff driver to use GPIO descriptors rather than numeral GPIOs. We get rid of the specific inversion handling as GPIO descriptors know if they are active low or high and can assert the line properly, so we do not need to