On Dec 19, 2007 11:32 PM, <[EMAIL PROTECTED]> wrote: > Revision 4058 Author sonicz Date 2007-12-19 22:32:53 -0600 (Wed, 19 Dec > 2007) > Log Message Fix bug[#3773] Free IRQ only in detach fucntion. > > trunk/drivers/input/joystick/ad7142.c
how about moving request_irq() to open() ? convention seems to be to do resource claiming during the open() step so as to make dynamic usage nicer. you can have multiple device drivers use the same hardware at runtime, but only the one actually opened gets the resources ... otherwise, if all resources are claimed during init, you are more restricted during runtime (only can have one driver *loaded* rather than *opened*). -mike _______________________________________________ Linux-kernel-commits mailing list [email protected] http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
