]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit218b0c6d37e7302082674510b0dd0650be7da7a0
treefd1bb7e7704dff155c46d8d7eacb30adfff3ffa9
parent2ff58ca38f0ff4b77471b7aa396de6085dfe67c1
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