]> 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)
commit90c477b5f0c64fde52254db6f977c1c8f018db93
tree0c43deecea3391ae0dcb7a1009555fb9ffc5bb14
parentd8919201ee9bdbe890493a3ea39ebb722cdb3b48
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