Re: [PATCH 7/7] gpio: dwapb: use d->mask instead od BIT(bit)

2014-03-25 Thread Sebastian Andrzej Siewior
On 03/25/2014 03:17 AM, Alexandre Courbot wrote: >> diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c >> index 3c9cdda..ebfcf5c 100644 >> --- a/drivers/gpio/gpio-dwapb.c >> +++ b/drivers/gpio/gpio-dwapb.c >> @@ -126,7 +126,7 @@ static void dwapb_irq_disable(struct irq_data *d) >>

Re: [PATCH 7/7] gpio: dwapb: use d-mask instead od BIT(bit)

2014-03-25 Thread Sebastian Andrzej Siewior
On 03/25/2014 03:17 AM, Alexandre Courbot wrote: diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index 3c9cdda..ebfcf5c 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c @@ -126,7 +126,7 @@ static void dwapb_irq_disable(struct irq_data *d)

Re: [PATCH 7/7] gpio: dwapb: use d->mask instead od BIT(bit)

2014-03-24 Thread Alexandre Courbot
On Sun, Mar 23, 2014 at 1:16 AM, Sebastian Andrzej Siewior wrote: > d->mask contains exact the same information as BIT(bit) so we could save > a few cycles here. > > Signed-off-by: Sebastian Andrzej Siewior > --- > drivers/gpio/gpio-dwapb.c | 25 - > 1 file changed, 12

Re: [PATCH 7/7] gpio: dwapb: use d-mask instead od BIT(bit)

2014-03-24 Thread Alexandre Courbot
On Sun, Mar 23, 2014 at 1:16 AM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: d-mask contains exact the same information as BIT(bit) so we could save a few cycles here. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- drivers/gpio/gpio-dwapb.c | 25

[PATCH 7/7] gpio: dwapb: use d->mask instead od BIT(bit)

2014-03-22 Thread Sebastian Andrzej Siewior
d->mask contains exact the same information as BIT(bit) so we could save a few cycles here. Signed-off-by: Sebastian Andrzej Siewior --- drivers/gpio/gpio-dwapb.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/gpio/gpio-dwapb.c

[PATCH 7/7] gpio: dwapb: use d-mask instead od BIT(bit)

2014-03-22 Thread Sebastian Andrzej Siewior
d-mask contains exact the same information as BIT(bit) so we could save a few cycles here. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- drivers/gpio/gpio-dwapb.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git