diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2015-06-23 19:47:29 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-11 23:14:24 +0200 |
commit | a1ff541a40e90df05f586bf6b157083b351c4a0c (patch) | |
tree | d35b764ca2dc369848efa5d08c43f3fe04e93fe7 /kernel/irq/chip.c | |
parent | 0798abeb7eec37dcc20f252c2195fc31c41561f9 (diff) | |
download | lwn-a1ff541a40e90df05f586bf6b157083b351c4a0c.tar.gz lwn-a1ff541a40e90df05f586bf6b157083b351c4a0c.zip |
genirq: Remove irq arg from __irq_set_trigger()
It's only required for debug output and can be retrieved from the irq
descriptor if necessary.
[ tglx: Split out from combo patch ]
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 0cfbd1506e35..310d65885440 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -63,7 +63,7 @@ int irq_set_irq_type(unsigned int irq, unsigned int type) return -EINVAL; type &= IRQ_TYPE_SENSE_MASK; - ret = __irq_set_trigger(desc, irq, type); + ret = __irq_set_trigger(desc, type); irq_put_desc_busunlock(desc, flags); return ret; } |