]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b7206b8b1c7c3c41fc195642a07c27a39986ceb
tree142da1f53c03e66997444df595bd8b32c8fd83de
parent0bf9ac857d53a8537e8fdf6d46dbd6eee4ac7237
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