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
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
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