genirq/proc: Replace ever repeating type cast
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:37 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:20 +0000 (18:21 +0200)
commitc1a80386965e9fa3c2f8d1d57966216fe02c9124
tree142da1f53c03e66997444df595bd8b32c8fd83de
parent4ab764c336123157690ee0000a1dcf81851c58d1
genirq/proc: Replace ever repeating type cast

The proc file setup repeats the same ugly type cast for the irq number over
and over. Do it once and hand in the local void pointer.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235446.160866358@linutronix.de
kernel/irq/proc.c