commit | 83ac4ca943affce56a2c408ddb2f5232f478fb11 | [log] [tgz] |
---|---|---|
author | Uwe Kleine König <u.kleine-koenig@pengutronix.de> | Mon Mar 19 11:52:02 2018 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue Mar 20 08:52:44 2018 +0100 |
tree | cff6f9602d3c4b24841e45f325a2d136c40e378c | |
parent | cc6c98485f8e61fb3d6c51821fc75384e5a3a9c3 [diff] |
genirq: Pass desc to __irq_free instead of irq number Given that irq_to_desc() is a radix_tree_lookup and the reverse operation is only a pointer dereference and that all callers of __free_irq already have the desc, pass the desc instead of the irq number. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: kernel@pengutronix.de Link: https://lkml.kernel.org/r/20180319105202.9794-1-u.kleine-koenig@pengutronix.de