]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: rcar: reference device instead of platform device
authorVladimir Zapolskiy <vz@mleia.com>
Thu, 22 Nov 2018 20:19:41 +0000 (22:19 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 5 Dec 2018 21:52:31 +0000 (22:52 +0100)
commit724391df97e52ccfc0e29a94c79d455ca221ed09
tree0c43deecea3391ae0dcb7a1009555fb9ffc5bb14
parent2be724f04306d8771e468097392ff96a88616b14
gpio: rcar: reference device instead of platform device

The change simplifies dereferences to the mediated struct device, also
it allows to limit the scope of the platform device usage to probe and
remove functions only.

Non-functional change.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rcar.c