Re: [PATCH 1/4] gpio/xilinx: remove offset property

2014-12-10 Thread Alexandre Courbot
On Tue, Dec 9, 2014 at 12:07 AM, Ricardo Ribalda Delgado wrote: > Instead of calculating the register offset per call, pre-calculate it on > probe time. > > Signed-off-by: Ricardo Ribalda Delgado Nice optimization. Acked-by: Alexandre Courbot -- To unsubscribe from this list: send the line "un

[PATCH 1/4] gpio/xilinx: remove offset property

2014-12-08 Thread Ricardo Ribalda Delgado
Instead of calculating the register offset per call, pre-calculate it on probe time. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpio/gpio-xilinx.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/