]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit235650fdb288d9e9decdaa29fd650d61a4cf2e8e
tree094877d63962fed2253930ee3864134c2bcb8c67
parent74be4db41b6df307fad5417d8ab343ab8c8691aa
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