gpio: lpc18xx: add struct device local variable
authorVladimir Zapolskiy <vz@mleia.com>
Wed, 28 Nov 2018 22:28:47 +0000 (00:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Dec 2018 09:49:18 +0000 (10:49 +0100)
commit9dd1a30cb4881328ae568f6c060446b52539a2dd
treefd1bb7e7704dff155c46d8d7eacb30adfff3ffa9
parent9b34d05aa9c8cdd516762f2b06c22fcd05a14072
gpio: lpc18xx: add struct device local variable

This is a non-functional change, it simplifies multiple access to
'struct device' pointer derived from a platform device pointer,
the new local variable will also be used in the following changes.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lpc18xx.c