Re: [PATCH] gpio: rcar: Use of_device_get_match_data() helper

2017-10-07 Thread Linus Walleij
On Wed, Oct 4, 2017 at 2:16 PM, Geert Uytterhoeven wrote: > 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

Re: [PATCH] gpio: rcar: Use of_device_get_match_data() helper

2017-10-05 Thread Simon Horman
On Wed, Oct 04, 2017 at 02:16:16PM +0200, Geert Uytterhoeven wrote: > 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

[PATCH] gpio: rcar: Use of_device_get_match_data() helper

2017-10-04 Thread Geert Uytterhoeven
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 --- drivers/gpio/gpio-rcar.c | 8 ++-- 1 file changed, 2 insertions(+), 6