Files
kernel_arpi/include/linux
Mark Rutland 0788f1e973 arm_pmu: simplify arm_pmu::handle_irq
The arm_pmu::handle_irq() callback has the same prototype as a generic
IRQ handler, taking the IRQ number and a void pointer argument which it
must convert to an arm_pmu pointer.

This means that all arm_pmu::handle_irq() take an IRQ number they never
use, and all must explicitly cast the void pointer to an arm_pmu
pointer.

Instead, let's change arm_pmu::handle_irq to take an arm_pmu pointer,
allowing these casts to be removed. The redundant IRQ number parameter
is also removed.

Suggested-by: Hoeun Ryu <hoeun.ryu@lge.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-05-21 18:07:05 +01:00
..
2018-03-08 13:56:24 +05:30
2018-03-29 14:29:55 -04:00
2018-04-20 17:18:35 -07:00
2018-04-11 10:28:37 -07:00
2018-03-16 10:56:13 +01:00
2018-03-31 02:15:18 +02:00
2018-03-31 02:16:26 +02:00
2018-03-16 15:45:51 -07:00
2018-03-16 10:55:47 +01:00
2018-03-26 15:09:38 +02:00
2018-03-12 10:05:01 +01:00
2018-03-26 15:56:44 +02:00
2018-03-31 02:15:18 +02:00
2018-04-26 09:02:01 -06:00
2018-02-22 21:13:03 +01:00
2018-03-26 08:53:43 -06:00
2018-04-11 10:28:35 -07:00
2018-04-11 10:28:38 -07:00
2018-02-24 01:43:47 +01:00
2018-03-13 13:29:10 -07:00
2018-04-12 09:41:19 -07:00
2018-04-11 10:28:32 -07:00
2018-04-11 10:28:39 -07:00
2018-03-26 13:14:43 -04:00
2018-03-26 13:14:43 -04:00
2018-03-26 13:14:43 -04:00
2018-03-30 12:56:22 -04:00
2018-04-11 10:28:39 -07:00
2018-02-20 16:12:26 -08:00
2018-03-17 14:20:55 +01:00
2018-03-01 08:33:05 -07:00
2018-04-05 21:36:24 -07:00
2018-04-05 21:36:27 -07:00
2018-02-20 16:10:25 -08:00