gpio: bcm_kona: rename confusing variables
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Oct 2013 17:14:50 +0000 (19:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 07:59:17 +0000 (09:59 +0200)
commitd933cc619e36c2288730fd8a8bdbb16a35dade07
treeac2c69761cafdf31d24e62cdc3a48abeb1e1756e
parent472f95b93860ef8ba562c6231ab8f6ff9d352a0e
gpio: bcm_kona: rename confusing variables

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. Rename the
"gpio" variable to "hwirq" to reflect what it is. Rename one
instance of "virq" to "child_irq" that better describes what
it is.

Cc: Markus Mayer <markus.mayer@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c