Re: [PATCH 06/12] genericirq: make irq_chip related function to takedesc
From: Julia Lawall
Date: Sun Mar 21 2010 - 12:29:19 EST
There is a function set_irq_chained_handler that takes a function,
handler, as its second argument. It seems that handler is always then
called with and irq as the first argument and the associated desc as the
second argument. If this is the case, one could drop the irq argument and
only use desc. A lot of calls of the form
desc->chip->...(irq_to_desc(irq))
could then become
desc->chip->...(desc)
julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/