gpio: rcar: Use of_device_get_match_data() helper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Oct 2017 12:16:16 +0000 (14:16 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 8 Oct 2017 00:16:42 +0000 (02:16 +0200)
commitf9f2a6fe1399d1fab38b6c1d0639928a52b67a79
tree094877d63962fed2253930ee3864134c2bcb8c67
parentd327a224ba2cbe234d82fd560ff8e5bb38b0bb4b
gpio: rcar: Use of_device_get_match_data() helper

Use the of_device_get_match_data() helper instead of open coding.
Note that the gpio-rcar driver is used with DT only, so there's always a
valid match.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rcar.c