+void irq_poll_init_am(struct irq_poll *iop, unsigned int nr_events,
+ unsigned short nr_levels, unsigned short start_level, irq_poll_am_fn
+ iop->amfn = amfn;
+ irq_am_init(&iop->am, nr_events, nr_levels, start_level, irq_poll_am);
This function has a large number of parameters and most of them are passed
irq_am_init(). Please consider to introduce a structure for these parameters
the number of function arguments stays reasonable.
I can definitely change that.