]> 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)
commitb83a79590363ba0e72108d55af79755424fe6a3d
tree094877d63962fed2253930ee3864134c2bcb8c67
parent126b02d3713ba13b591ccf5d94fb00182fc597f0
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