diff options
author | Uwe Kleine König <u.kleine-koenig@pengutronix.de> | 2018-03-19 11:52:02 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-03-20 08:52:44 +0100 |
commit | 83ac4ca943affce56a2c408ddb2f5232f478fb11 (patch) | |
tree | cff6f9602d3c4b24841e45f325a2d136c40e378c /kernel/irq/chip.c | |
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
Diffstat (limited to 'kernel/irq/chip.c')
0 files changed, 0 insertions, 0 deletions