-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/20/2012 10:18 AM, Stefano Babic wrote: > But they contain the same information, as the irq number can be get > easy from irq_pin with gpio_to_irq(). Having both, it is possible > to set them to different values, and this is wrong. gpio_to_irq is not available on all platforms. There was a discussion on that topic quite a while ago. Moving the irq setup code to the board file was the conclusion from that discussion. Bye, Simon - -- Simon Budig kernel concepts GmbH simon.budig@xxxxxxxxxxxxxxxxx Sieghuetter Hauptweg 48 +49-271-771091-17 D-57072 Siegen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBa1FQACgkQO2O/RXesiHDBOACfamvKFxTYUR9TdVSLhTobthoG KKwAniPJtTiufxLrATH+n8DwlzuPsok0 =QqF7 -----END PGP SIGNATURE----- -- 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