On Monday, June 29, 2009 7:32 PM, Dmitry Torokhov wrote: > On Tue, Jun 23, 2009 at 06:21:26PM +0200, Daniel Mack wrote: > > On Sat, Jun 20, 2009 at 06:15:51PM -0400, H Hartley Sweeten wrote: > > > There is no need to carry the two irq numbers in the allocated memory. > > > They are only needed for the free_irq() calls during the remove. Since > > > the driver is already carrying the platform_data we can just call > > > gpio_to_irq() to get the irq number. > > > > > > Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> > > > > Acked-by: Daniel Mack <daniel@xxxxxxxx> > > > > Do we know how many encoders we need to have in the system to start > seeing the benefits (given that all these conversions increase text > size)? Hmm.. Didn't think about that. How do you determine the text size? I am trying to work out a clean way to pass an array of encoders from the platform init file so that multiple devices can be handled by the driver. That was what prompted the change. Regards, Hartley -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html