gpio: stmpe: Move an assignment in stmpe_gpio_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 12 Jan 2018 19:44:15 +0000 (20:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Jan 2018 06:44:15 +0000 (07:44 +0100)
commit757ad058da83c800891bffd0bcba232853104892
tree19d8679b38bae0ba4004a0de3126b509c4b1a3ee
parent64fec0bcea0faa148151050bbb2c15da6a1423e0
gpio: stmpe: Move an assignment in stmpe_gpio_probe()

Move the assignment for the local variable "irq" so that its setting
will only be performed directly before it is checked by this function.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-stmpe.c