aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2013-10-11 19:51:38 +0200
committerLinus Walleij <[email protected]>2013-10-16 09:59:53 +0200
commited05e204af5a2a7814858407bfd698d51e31f938 (patch)
treef13c8d098a36c5e375f75c5c77afe55e2f723227 /lib/cpu-notifier-error-inject.c
parentc0d6c1ad0ad8fa1b7c2148ba918fd5d64a51166a (diff)
gpio: stmpe: drop references to "virtual" IRQ, fix bug
Rename the argument "virq" to just "irq", this IRQ isn't any more "virtual" than any other Linux IRQ number, we use "hwirq" for the actual hw-numbers, "virq" is just bogus. When doing this I see that the hwirq argument is used for mapping rather than the Linux IRQ in the map function. This doesn't look right. Use the Linux IRQ instead. I cannot test this patch so I don't know if the mapping change is correct, however since absolutely every other driver does it the other way around this doesn't look sound at all. Please help out with review. Cc: Vipul Kumar Samar <[email protected]> Cc: Lee Jones <[email protected]> Cc: Gabriel Fernandez <[email protected]> Cc: Jean-Nicolas Graux <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions