Re: [PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-09 Thread Linus Walleij
On Tue, Dec 3, 2013 at 4:20 AM, Alexandre Courbot wrote: > Change the format of the platform GPIO lookup tables to make them less > confusing and improve lookup efficiency. > > The previous format was a single linked-list that required to compare > the device name and function ID of every single

Re: [PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-09 Thread Linus Walleij
On Tue, Dec 3, 2013 at 4:20 AM, Alexandre Courbot acour...@nvidia.com wrote: Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that required to compare the device name and function ID

Re: [PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-03 Thread Linus Walleij
On Tue, Dec 3, 2013 at 4:20 AM, Alexandre Courbot wrote: > Change the format of the platform GPIO lookup tables to make them less > confusing and improve lookup efficiency. > > The previous format was a single linked-list that required to compare > the device name and function ID of every single

Re: [PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-03 Thread Heikki Krogerus
Hi, On Tue, Dec 03, 2013 at 12:20:11PM +0900, Alexandre Courbot wrote: > Change the format of the platform GPIO lookup tables to make them less > confusing and improve lookup efficiency. > > The previous format was a single linked-list that required to compare > the device name and function ID

Re: [PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-03 Thread Heikki Krogerus
Hi, On Tue, Dec 03, 2013 at 12:20:11PM +0900, Alexandre Courbot wrote: Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that required to compare the device name and function ID of

Re: [PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-03 Thread Linus Walleij
On Tue, Dec 3, 2013 at 4:20 AM, Alexandre Courbot acour...@nvidia.com wrote: Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that required to compare the device name and function ID

[PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-02 Thread Alexandre Courbot
Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that required to compare the device name and function ID of every single GPIO defined for each lookup. Switch that to a list of per-device

[PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-02 Thread Alexandre Courbot
Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that required to compare the device name and function ID of every single GPIO defined for each lookup. Switch that to a list of per-device